Generator.php
authorAlan Knowles <alan@roojs.com>
Thu, 27 Feb 2014 03:44:13 +0000 (11:44 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 27 Feb 2014 03:44:13 +0000 (11:44 +0800)
Generator.php

index 7857b2a..f593f0c 100644 (file)
@@ -49,8 +49,8 @@ class Pman_Core_Generator extends DB_DataObject_Generator
     
     function getAuth()
     {
-        if (!$this->cli) {
-            die("cli not set");
+        if (!HTML_FlexyFramework::get()->cli) {
+            die("cli not set");  
         }
     }