LSsession :: includeFile() : Fixed Notice PHP
authorBenjamin Renard <brenard@easter-eggs.com>
Mon, 8 Nov 2010 15:57:17 +0000 (16:57 +0100)
committerBenjamin Renard <brenard@easter-eggs.com>
Mon, 8 Nov 2010 15:57:17 +0000 (16:57 +0100)
public_html/includes/class/class.LSsession.php

index 0d2e8dc..245e45b 100644 (file)
@@ -98,7 +98,7 @@ class LSsession {
     if (!file_exists($file)) {
       return;
     }
-    if (LSdebug) {
+    if (defined('LSdebug') && constant('LSdebug')) {
       return include_once($file);
     }
     else {