Ignore:
Timestamp:
08/27/10 23:01:58 (21 months ago)
Author:
vain
Message:
  • minor change to all security constant checks
  • fixed the non rewrite routing
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/systeminfo/controller/systeminfo.admin.php

    r4506 r4599  
    2424    * 
    2525    * @license    GNU/GPL v2 or (at your option) any later version, see "/doc/LICENSE". 
    26     * 
    2726    * @author     Jens-André Koch <vain@clansuite.com> 
    2827    * @copyright  Jens-André Koch (2005 - onwards) 
    29     * 
    3028    * @link       http://www.clansuite.com 
    31     * @link       http://gna.org/projects/clansuite 
    32  
    3329    * 
    3430    * @version    SVN: $Id: index.module.php 2625 2008-12-09 00:04:43Z vain $ 
     
    3632 
    3733# Security Handler 
    38 if (defined('IN_CS') == false) 
     34if (defined('IN_CS') === false) 
    3935{ 
    4036    die('Clansuite not loaded. Direct Access forbidden.'); 
     
    4844 * @subpackage  Systeminfo 
    4945 */ 
    50 class Clansuite_Module_Systeminfo_Admin extends Clansuite_Module_Controller implements Clansuite_Module_Interface 
     46class Clansuite_Module_Systeminfo_Admin extends Clansuite_Module_Controller 
    5147{ 
    52     public function initializeModule(Clansuite_HttpRequest $request, Clansuite_HttpResponse $response) 
     48    public function initializeModule() 
    5349    { 
    5450        $this->getModuleConfig(); 
     
    6359        $this->getView()->setLayoutTemplate('index.tpl'); 
    6460 
    65         $sysinfo = array_merge($this->assembleSystemInfos(), 
    66                 $this->assembleDatabaseInfos()); 
     61        $sysinfo = array_merge($this->assembleSystemInfos(), $this->assembleDatabaseInfos()); 
    6762 
    6863        $this->getView()->assign('sysinfos', $sysinfo); 
     
    245240 
    246241        # Get APC Cache 
    247         $cache_apc = Clansuite_Cache_Factory::getCache('apc', $this->getInjector()); 
     242        $cache_apc = Clansuite_Cache_Factory::getCache('apc'); 
    248243 
    249244        # Assign Data to the View 
Note: See TracChangeset for help on using the changeset viewer.