Let say this is a 'typo'.
[platal.git] / classes / platal.php
index d6b26f2..a9376cd 100644 (file)
@@ -393,7 +393,7 @@ abstract class Platal
 
     public function &buildLogger($uid, $suid)
     {
-        if (define('PL_LOGGER_CLASS')) {
+        if (defined('PL_LOGGER_CLASS')) {
             $class = PL_LOGGER_CLASS;
             return new $class($uid, $suid);
         } else {