DataObjects/Core_notify.php
[Pman.Core] / RunGenerator.php
index 08cb9f4..f31f1d6 100644 (file)
@@ -14,8 +14,9 @@ class Pman_Core_RunGenerator extends Pman
     var $cli = false;
     function getAuth() {
         
-        $o = PEAR::getStaticProperty('HTML_FlexyFramework', 'options');
-        if (!empty($o['cli'])) {
+        
+        $ff = HTML_FlexyFramework::get();
+        if (!empty($ff->cli)) {
             $this->cli = true;
             return true;
         }
@@ -43,10 +44,11 @@ class Pman_Core_RunGenerator extends Pman
         $x = new Pman_Core_Generator();
        // $x->page = clone($this);
         $x->start($this->cli, $args, $lastarg);
-        $ff = FlexyFramework::get();
-        
-        print_r($ff->DB_DataObject);
         
+        // technically it would be good to trash the cached ini files here.. 
+        // however we can not really do that, as the ownships are off..
+        //we can however regen our own files..
+        HTML_FlexyFramework::get()->generateDataobjectsCache(true);
         
         die("done!");
     }