From: Alan Knowles Date: Mon, 7 Mar 2011 07:56:41 +0000 (+0800) Subject: sync X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=10ad355f1b751547e3c25f142e981508df13875d sync --- diff --git a/RunGenerator.php b/RunGenerator.php index 992ed0a7..f31f1d6c 100644 --- a/RunGenerator.php +++ b/RunGenerator.php @@ -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; }