diff options
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -48,10 +48,10 @@ require_once('include/AccessList.php'); define ( 'PLATFORM_NAME', 'hubzilla' ); define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'H'); -define ( 'STD_VERSION', '1.0' ); +define ( 'STD_VERSION', '1.0.1' ); define ( 'ZOT_REVISION', 1 ); -define ( 'DB_UPDATE_VERSION', 1160 ); +define ( 'DB_UPDATE_VERSION', 1161 ); /** @@ -82,8 +82,8 @@ define ( 'DIRECTORY_FALLBACK_MASTER', 'https://zothub.com'); $DIRECTORY_FALLBACK_SERVERS = array( 'https://zothub.com', 'https://hubzilla.site', - 'https://red.zottel.red', - 'https://gravizot.de', + 'https://hubzilla.zottel.net', + 'https://hub.pixelbits.de', 'https://my.federated.social', 'https://hubzilla.nl' ); @@ -704,11 +704,18 @@ class App { 'smarty3' => '}}' ); + // These represent the URL which was used to access the page + private $scheme; private $hostname; - private $baseurl; private $path; + // This is our standardised URL - regardless of what was used + // to access the page + + private $baseurl; + + /** * App constructor. */ @@ -1324,7 +1331,7 @@ function check_config(&$a) { * */ - $r = q("SELECT * FROM `addon` WHERE `installed` = 1"); + $r = q("SELECT * FROM addon WHERE installed = 1"); if($r) $installed = $r; else |