mirror of
https://github.com/xevidos/codiad.git
synced 2024-12-22 13:52:16 +01:00
Made changes to get ready for auto update
This commit is contained in:
parent
2900522462
commit
9307f312fb
4 changed files with 10 additions and 10 deletions
|
@ -183,9 +183,9 @@ define("WSURL", BASE_URL . "/workspace");
|
|||
//define("MARKETURL", "http://market.codiad.com/json");
|
||||
|
||||
// Update Check
|
||||
//define("UPDATEURL", "http://update.codiad.com/?v={VER}&o={OS}&p={PHP}&w={WEB}&a={ACT}");
|
||||
//define("ARCHIVEURL", "https://github.com/Codiad/Codiad/archive/master.zip");
|
||||
//define("COMMITURL", "https://api.github.com/repos/Codiad/Codiad/commits");
|
||||
define("UPDATEURL", "https://codiad.telaaedifex.com/update/?v={VER}&o={OS}&p={PHP}&w={WEB}&a={ACT}");
|
||||
define("ARCHIVEURL", "https://gitlab.telaaedifex.com/xevidos/codiad/-/archive/master/codiad-master.zip");
|
||||
define("COMMITURL", "https://gitlab.telaaedifex.com/api/v4/projects/3/repository/commits/");
|
||||
';
|
||||
|
||||
saveFile($config, $config_data);
|
||||
|
|
|
@ -30,9 +30,9 @@ class Update
|
|||
public function __construct()
|
||||
{
|
||||
ini_set("user_agent", "Codiad");
|
||||
$this->remote = "http://update.codiad.com/?v={VER}&o={OS}&p={PHP}&w={WEB}&a={ACT}";
|
||||
$this->commits = "https://api.github.com/repos/Codiad/Codiad/commits";
|
||||
$this->archive = "https://github.com/Codiad/Codiad/archive/master.zip";
|
||||
$this->remote = "https://codiad.telaaedifex.com/update/?v={VER}&o={OS}&p={PHP}&w={WEB}&a={ACT}";
|
||||
$this->commits = "https://gitlab.telaaedifex.com/api/v4/projects/3/repository/commits/";
|
||||
$this->archive = "https://gitlab.telaaedifex.com/xevidos/codiad/-/archive/master/codiad-master.zip";
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -52,8 +52,8 @@ define("WSURL", BASE_URL . "/workspace");
|
|||
//define("MARKETURL", "http://market.codiad.com/json");
|
||||
|
||||
// Update Check
|
||||
//define("UPDATEURL", "http://update.codiad.com/?v={VER}&o={OS}&p={PHP}&w={WEB}&a={ACT}");
|
||||
//define("ARCHIVEURL", "https://github.com/Codiad/Codiad/archive/master.zip");
|
||||
//define("COMMITURL", "https://api.github.com/repos/Codiad/Codiad/commits");
|
||||
define("UPDATEURL", "https://codiad.telaaedifex.com/update/?v={VER}&o={OS}&p={PHP}&w={WEB}&a={ACT}");
|
||||
define("ARCHIVEURL", "https://gitlab.telaaedifex.com/xevidos/codiad/-/archive/master/codiad-master.zip");
|
||||
define("COMMITURL", "https://gitlab.telaaedifex.com/api/v4/projects/3/repository/commits/");
|
||||
|
||||
?>
|
||||
|
|
|
@ -32,7 +32,7 @@ class AutoUpdate extends Common {
|
|||
public function __construct(){
|
||||
ini_set("user_agent" , "Codiad");
|
||||
$this->remote = "https://codiad.telaaedifex.com/update/?v={VER}&o={OS}&p={PHP}&w={WEB}&a={ACT}";
|
||||
$this->commits = "https://gitlab.telaaedifex.com/xevidos/codiad/commits/master";
|
||||
$this->commits = "https://gitlab.telaaedifex.com/api/v4/projects/3/repository/commits/";
|
||||
$this->archive = "https://gitlab.telaaedifex.com/xevidos/codiad/-/archive/master/codiad-master.zip";
|
||||
$this->type = "";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue