X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=classes%2Fplglobals.php;h=fd11a25994af337face179bebe498fc8dee73c35;hb=feb45d1d9fc152beff746c83048ff7704cc27ea2;hp=c830bad64295df2af00aba2771ec76dc3812621c;hpb=7e001f68b7928d80ccf32b8a8bca55d304476d3e;p=platal.git diff --git a/classes/plglobals.php b/classes/plglobals.php index c830bad..fd11a25 100644 --- a/classes/plglobals.php +++ b/classes/plglobals.php @@ -1,6 +1,6 @@ baseurl = @trim($base .$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF']), '/'); $this->baseurl_http = @trim('http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF']), '/'); } + assert_options(ASSERT_ACTIVE, $this->debug != 0); $this->setLocale(); }