Diff of /mambo/branches/4.6/includes/core.classes.php
Parent Directory
|
Revision Log
|
Patch
| revision 979, Thu Feb 8 02:14:07 2007 UTC | revision 980, Thu Feb 8 10:58:46 2007 UTC | |
|---|---|---|
| # | Line 393 | Line 393 |
| 393 | */ | */ |
| 394 | function offlineCheck (&$user, &$database) { | function offlineCheck (&$user, &$database) { |
| 395 | global $adminside; | global $adminside; |
| 396 | if (($this->mosConfig_offline && $adminside != 1) OR file_exists($this->rootPath.'/installation/index.php')) { | if (($this->mosConfig_offline && !$adminside) OR file_exists($this->rootPath.'/installation/index.php')) { |
| 397 | require_once($this->rootPath().'/administrator/includes/admin.php'); | require_once($this->rootPath().'/administrator/includes/admin.php'); |
| 398 | session_name(md5($this->mosConfig_live_site)); | session_name(md5($this->mosConfig_live_site)); |
| 399 | session_start(); | session_start(); |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

