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/games/controller/games.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) 
     28    * @link       http://www.clansuite.com 
    2929    * 
    30     * @link       http://www.clansuite.com 
    31     * @link       http://gna.org/projects/clansuite 
     30    * @version    SVN: $Id: index.module.php 2625 2008-12-09 00:04:43Z vain $ 
    3231    */ 
    3332 
    3433# Security Handler 
    35 if(defined('IN_CS') == false) 
     34if(defined('IN_CS') === false) 
    3635{ 
    3736    die('Clansuite not loaded. Direct Access forbidden.'); 
     
    4544 * @subpackage  Games 
    4645 */ 
    47 class Clansuite_Module_Games_Admin extends Clansuite_Module_Controller implements Clansuite_Module_Interface 
     46class Clansuite_Module_Games_Admin extends Clansuite_Module_Controller 
    4847{ 
    49     public function initializeModule(Clansuite_HttpRequest $request, Clansuite_HttpResponse $response) 
     48    public function initializeModule() 
    5049    { 
    5150        parent::initModel('games'); 
     
    8786 
    8887        # display formgenerator object 
    89         #clansuite_xdebug::printR($form);  
     88        #Clansuite_Debug::printR($form);  
    9089         
    9190        $form->addElement('submitbutton')->setName('Save'); 
     
    9392         
    9493        # display form html 
    95         #clansuite_xdebug::printR($form->render()); 
     94        #Clansuite_Debug::printR($form->render()); 
    9695         
    9796        # assign the html of the form to the view 
     
    108107 
    109108        # Get Configuration from Injector 
    110         $config = $this->injector->instantiate('Clansuite_Config'); 
     109        $config = $this->getInjector()->instantiate('Clansuite_Config'); 
    111110         
    112111        # write config 
Note: See TracChangeset for help on using the changeset viewer.