From 10ad355f1b751547e3c25f142e981508df13875d Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 7 Mar 2011 15:56:41 +0800 Subject: [PATCH] sync --- RunGenerator.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; } -- 2.39.2