6.X/EMPS.php
/**
     * Main initialization procedure
     *
     * This will detect the current website, parse the URL for variables, initialize Smarty plugins.
     */
Main initialization procedure
This will detect the current website, parse the URL for variables, initialize Smarty plugins.
Main initialization procedure This will detect the current website parse the URL for variables initialize Smarty plugins .
public function initialize()
    {
        if (!$this->cli_mode) {
            if (get_magic_quotes_gpc()) {
                $_REQUEST = $this->unslash_prepare($_REQUEST);
                $_POST = $this->unslash_prepare($_POST);
                $_GET = $this->unslash_prepare($_GET);
            }
        }
        $this->early_init();
        $this->select_website();
        if (!$this->cli_mode) {
            $this->parse_path();
            $this->import_vars();
            $this->savevars();
            if ($_GET['plain']) {
                $this->page_property('plain', true);
            }
        }
        $plugins = $this->common_module('smarty.plugins.php');
        if (file_exists($plugins)) {
            require_once $plugins;
        }
    }
public function initialize ( ) { if ( ! $ this -> cli_mode ) { if ( get_magic_quotes_gpc ( ) ) { $ _REQUEST = $ this -> unslash_prepare ( $ _REQUEST ) ; $ _POST = $ this -> unslash_prepare ( $ _POST ) ; $ _GET = $ this -> unslash_prepare ( $ _GET ) ; } } $ this -> early_init ( ) ; $ this -> select_website ( ) ; if ( ! $ this -> cli_mode ) { $ this -> parse_path ( ) ; $ this -> import_vars ( ) ; $ this -> savevars ( ) ; if ( $ _GET [ 'plain' ] ) { $ this -> page_property ( 'plain' , true ) ; } } $ plugins = $ this -> common_module ( 'smarty.plugins.php' ) ; if ( file_exists ( $ plugins ) ) { require_once $ plugins ; } }
Main initialization procedure
 This will detect the current website, parse the URL for variables, initialize Smarty plugins.
Main initialization procedure This will detect the current website parse the URL for variables initialize Smarty plugins .