X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=7dbcff93d20cece5ad49b44f6f5761690ead632a;hb=1b9438120cdf13aa355cf6d761e92f4a39063c44;hp=600a02afad34023f205fff2f96050eba72756934;hpb=84199e6e71eafa135f2745eca95910027f077a1c;p=friendica.git diff --git a/boot.php b/boot.php index 600a02afad..7dbcff93d2 100644 --- a/boot.php +++ b/boot.php @@ -11,7 +11,7 @@ require_once('include/cache.php'); require_once('library/Mobile_Detect/Mobile_Detect.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); -define ( 'FRIENDICA_VERSION', '3.0.1481' ); +define ( 'FRIENDICA_VERSION', '3.0.1500' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); define ( 'DB_UPDATE_VERSION', 1156 ); @@ -283,7 +283,9 @@ define ( 'GRAVITY_COMMENT', 6); */ function startup() { + error_reporting(E_ERROR | E_WARNING | E_PARSE); + set_time_limit(0); // This has to be quite large to deal with embedded private photos @@ -403,7 +405,6 @@ if(! class_exists('App')) { elseif(x($_SERVER,'SERVER_PORT') && (intval($_SERVER['SERVER_PORT']) == 443)) $this->scheme = 'https'; - if(x($_SERVER,'SERVER_NAME')) { $this->hostname = $_SERVER['SERVER_NAME']; @@ -1794,3 +1795,4 @@ function curPageURL() { } return $pageURL; } +