I18n.php
authorAlan Knowles <alan@roojs.com>
Tue, 26 Feb 2013 03:30:11 +0000 (11:30 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 26 Feb 2013 03:30:11 +0000 (11:30 +0800)
I18n.php

index 009c26d..4403e8c 100644 (file)
--- a/I18n.php
+++ b/I18n.php
@@ -111,6 +111,11 @@ class Pman_Core_I18n extends Pman
      
         $lbits = $this->guessUsersLanguage();
          
+        if ($this->authUser && !empty($_REQUEST['debug'])) {
+            DB_DataObject::debugLevel(1);
+        }
+        
+        
         
         $i = DB_DataObject::Factory('I18n');