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/forum/controller/forum.admin.php

    r4506 r4599  
    11<?php 
    2 /** 
    3  * ClanSuite Forum Admin Module (Backend) 
    4  * (forum) 
    5  * 
    6  * @license    GPL 
    7  * @author     Florian Wolf 
    8  * @link       http://www.clansuite.com 
    9  * @version    SVN: $Id: $ 
    10  */ 
     2   /** 
     3    * Clansuite - just an eSports CMS 
     4    * Jens-André Koch © 2005 - onwards 
     5    * http://www.clansuite.com/ 
     6    * 
     7    * This file is part of "Clansuite - just an eSports CMS". 
     8    * 
     9    * LICENSE: 
     10    * 
     11    *    This program is free software; you can redistribute it and/or modify 
     12    *    it under the terms of the GNU General Public License as published by 
     13    *    the Free Software Foundation; either version 2 of the License, or 
     14    *    (at your option) any later version. 
     15    * 
     16    *    This program is distributed in the hope that it will be useful, 
     17    *    but WITHOUT ANY WARRANTY; without even the implied warranty of 
     18    *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     19    *    GNU General Public License for more details. 
     20    * 
     21    *    You should have received a copy of the GNU General Public License 
     22    *    along with this program; if not, write to the Free Software 
     23    *    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
     24    * 
     25    * @license    GNU/GPL v2 or (at your option) any later version, see "/doc/LICENSE". 
     26    * @author     Jens-André Koch <vain@clansuite.com> 
     27    * @copyright  Jens-André Koch (2005 - onwards) 
     28    * @link       http://www.clansuite.com 
     29    * 
     30    * @version    SVN: $Id: news.module.php 2753 2009-01-21 22:54:47Z vain $ 
     31    */ 
    1132 
    1233# Security Handler 
    13 if(defined('IN_CS') == false) 
     34if(defined('IN_CS') === false) 
    1435{ 
    1536    die('Clansuite not loaded. Direct Access forbidden.'); 
     
    2344 * @subpackage  Forum 
    2445 */ 
    25 class Clansuite_Module_Forum_Admin extends Clansuite_Module_Controller implements Clansuite_Module_Interface 
     46class Clansuite_Module_Forum_Admin extends Clansuite_Module_Controller 
    2647{ 
    27     public function initializeModule(Clansuite_HttpRequest $request, Clansuite_HttpResponse $response) 
     48    public function initializeModule() 
    2849    { 
    2950        $this->getModuleConfig(); 
     
    157178 
    158179        # display formgenerator object 
    159         #clansuite_xdebug::printR($form); 
     180        #Clansuite_Debug::printR($form); 
    160181 
    161182        $form->addElement('submitbutton')->setName('Save'); 
     
    163184 
    164185        # display form html 
    165         #clansuite_xdebug::printR($form->render()); 
     186        #Clansuite_Debug::printR($form->render()); 
    166187 
    167188        # assign the html of the form to the view 
     
    178199 
    179200        # Get Configuration from Injector 
    180         $config = $this->injector->instantiate('Clansuite_Config'); 
     201        $config = $this->getInjector()->instantiate('Clansuite_Config'); 
    181202 
    182203        # write config 
Note: See TracChangeset for help on using the changeset viewer.