Pman/Login.php
authorjohn <john@roojs.com>
Wed, 10 Oct 2018 06:05:58 +0000 (14:05 +0800)
committerjohn <john@roojs.com>
Wed, 10 Oct 2018 06:05:58 +0000 (14:05 +0800)
Pman/Login.php

index bb7e049..f2a68bc 100644 (file)
@@ -129,6 +129,7 @@ class Pman_Login extends Pman
         $tbl = empty($ff->Pman['authTable']) ? 'core_person' : $ff->Pman['authTable'];
         
         $u = DB_DataObject::factory($tbl);
+        $s = DB_DataObject::Factory('core_setting');
         if (!$u->isAuth()) {
              
             $this->jok(array('id' => 0, 'test' => 0)); // not logged in..