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

    r4567 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 
    3229    * 
    3330    * @version    SVN: $Id$ 
     
    3532 
    3633//Security Handler 
    37 if(defined('IN_CS') == false) 
     34if(defined('IN_CS') === false) 
    3835{ 
    3936    die('Clansuite not loaded. Direct Access forbidden.'); 
     
    7067 * @subpackage  Administration 
    7168 */ 
    72 class Clansuite_Module_Doctrine_Admin extends Clansuite_Module_Controller implements Clansuite_Module_Interface 
     69class Clansuite_Module_Doctrine_Admin extends Clansuite_Module_Controller 
    7370{ 
    7471    /** 
     
    8077     * Module_Doctrine_Admin -> Execute 
    8178     */ 
    82     public function initializeModule(Clansuite_HttpRequest $request, Clansuite_HttpResponse $response) 
     79    public function initializeModule() 
    8380    { 
    8481        Doctrine_Core::setPath( ROOT_LIBRARIES . 'doctrine/' ); 
     
    8784         * Setup Paths depending on a specific module or the core 
    8885         */ 
    89         $bool = $request->issetParameter('modulename'); 
     86        $bool = $this->request->issetParameter('modulename'); 
    9087        if(isset($bool)) 
    9188        { 
    92             self::$options = self::setupDoctrinePaths($request->getParameterFromGet('modulename')); 
     89            self::$options = self::setupDoctrinePaths($this->request->getParameterFromGet('modulename')); 
    9390        } 
    9491        else 
     
    182179    public function action_admin_show() 
    183180    { 
    184         $this->prepareOutput(); 
     181        $this->display(); 
    185182    } 
    186183 
Note: See TracChangeset for help on using the changeset viewer.