diff --git a/components/install/process.php b/components/install/process.php index 5a52769..accfe60 100755 --- a/components/install/process.php +++ b/components/install/process.php @@ -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); diff --git a/components/update/class.update.php b/components/update/class.update.php index 58237c0..bfd433e 100755 --- a/components/update/class.update.php +++ b/components/update/class.update.php @@ -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"; } ////////////////////////////////////////////////////////////////// diff --git a/config.example.php b/config.example.php index d25fab5..d33939c 100755 --- a/config.example.php +++ b/config.example.php @@ -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/"); ?> diff --git a/plugins/Codiad-AutoUpdate-master/class.autoupdate.php b/plugins/Codiad-AutoUpdate-master/class.autoupdate.php index 19a21f4..7853db0 100755 --- a/plugins/Codiad-AutoUpdate-master/class.autoupdate.php +++ b/plugins/Codiad-AutoUpdate-master/class.autoupdate.php @@ -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 = ""; }