Changeset 93 for trunk/www/Application/Model/Platform.php
- Timestamp:
- Aug 15, 2013, 11:17:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/Application/Model/Platform.php
r78 r93 7 7 var $Id; 8 8 9 function __construct($ Database)9 function __construct($System) 10 10 { 11 $this->Database = $Database;11 parent::__construct($System); 12 12 } 13 13 … … 46 46 function State() 47 47 { 48 global $Config;49 50 48 $State = array(); 51 49 $State['MemoryUsed'] = $this->MemoryUsage(); … … 76 74 $DbRow = $DbResult->fetch_row(); 77 75 $State['TaskQueued'] = $DbRow[0]; 78 $State['ServerMaxCount'] = $ Config['MaxServerCount'];76 $State['ServerMaxCount'] = $this->Config['MaxServerCount']; 79 77 return($State); 80 78 } 81 79 } 82 83 ?>
Note:
See TracChangeset
for help on using the changeset viewer.