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/matches/controller/matches.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 4552 2010-07-05 15:25:44Z 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  Matches 
    4645 */ 
    47 class Clansuite_Module_Matches_Admin extends Clansuite_Module_Controller implements Clansuite_Module_Interface 
     46class Clansuite_Module_Matches_Admin extends Clansuite_Module_Controller 
    4847{ 
    49     public function initializeModule(Clansuite_HttpRequest $request, Clansuite_HttpResponse $response) 
     48    public function initializeModule() 
    5049    { 
    51  
     50        return; 
    5251    } 
    5352     
     
    112111 
    113112        # display formgenerator object 
    114         #clansuite_xdebug::printR($form);  
     113        #Clansuite_Debug::printR($form);  
    115114         
    116115        $form->addElement('submitbutton')->setName('Save'); 
     
    118117         
    119118        # display form html 
    120         #clansuite_xdebug::printR($form->render()); 
     119        #Clansuite_Debug::printR($form->render()); 
    121120         
    122121        # assign the html of the form to the view 
     
    133132 
    134133        # Get Configuration from Injector 
    135         $config = $this->injector->instantiate('Clansuite_Config'); 
     134        $config = $this->getInjector()->instantiate('Clansuite_Config'); 
    136135         
    137136        # write config 
Note: See TracChangeset for help on using the changeset viewer.