Update of /cvsroot/phpwsbb/phpwsbb/class
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30297/class
Modified Files:
Manager.php
Log Message:
Need to poll database when checking if phpwsBB is offline.
Index: Manager.php
===================================================================
RCS file: /cvsroot/phpwsbb/phpwsbb/class/Manager.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** Manager.php 29 Mar 2004 04:06:47 -0000 1.32
--- Manager.php 2 Apr 2004 17:09:19 -0000 1.33
***************
*** 780,783 ****
--- 780,787 ----
function offline() {
+ // Need to refresh this from database every time
+ $result = $GLOBALS["core"]->sqlSelect("mod_phpwsbb_settings");
+ $this->_bboffline = $result[0]["bboffline"];
+
if($this->_bboffline)
return TRUE;
|