Assembla home | Assembla project page
 

Changeset 738

Show
Ignore:
Timestamp:
01/01/09 17:12:34 (1 year ago)
Author:
deivinsontejeda
Message:

arreglos varios en la clase Kumbia

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 0.5/library/kumbia/kumbia.php

    r736 r738  
    1818 * @author    Andres Felipe Gutierrez <andresfelipe@vagoogle.net> 
    1919 * @copyright 2008-2008 Emilio Rafael Silveira Tovar <emilio.rst at gmail.com> 
    20  * @copyright 2007-2009 Deivinson Jose Tejeda Brito <deivinsontejeda at gmail.com> 
     20 * @copyright 2007-2008 Deivinson Jose Tejeda Brito <deivinsontejeda at gmail.com> 
    2121 * @license   http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt GNU/GPL 
    2222 * @version   SVN:$id 
     
    6868     * @var string 
    6969     */ 
    70     static public $content = ''
     70    static public $content = ""
    7171    /** 
    7272     * Almacena el objeto Smarty 
     
    7474     * @var string 
    7575     */ 
    76     private static $_smarty_object = ''
     76    private static $_smarty_object = ""
    7777    /** 
    7878     * Lista de todos los modelos disponibles en la aplicacion 
     
    134134         * Inicializar el ExceptionHandler 
    135135         */ 
    136         set_exception_handler(array('Kumbia', 'manage_exceptions')); 
     136        set_exception_handler(array("Kumbia", "manage_exceptions")); 
    137137        /** 
    138138         * Crear el KUMBIA_PATH 
    139139         */ 
    140140        $delete_session_cache = false; 
    141         $path = join(array_slice(explode('/', dirname($_SERVER['PHP_SELF'])), 1, -1), '/'); 
     141        $path = join(array_slice(explode("/", dirname($_SERVER['PHP_SELF'])), 1, -1), '/'); 
    142142        if (isset($_SESSION['KUMBIA_PATH'])) { 
    143143            if ($path != $_SESSION['KUMBIA_PATH']) { 
     
    147147        $_SESSION['KUMBIA_PATH'] = $path; 
    148148        if ($_SESSION['KUMBIA_PATH']) { 
    149             define('KUMBIA_PATH', '/' . $_SESSION['KUMBIA_PATH'] . '/'); 
     149            define('KUMBIA_PATH', "/" . $_SESSION['KUMBIA_PATH'] . "/"); 
    150150        } else { 
    151             define('KUMBIA_PATH', '/'); 
     151            define('KUMBIA_PATH', "/"); 
    152152        } 
    153153        /** 
     
    242242         * Rutas Base 
    243243         */ 
    244         $config = Config::read('config.ini'); 
     244        $config = Config::read("config.ini"); 
    245245        //Aplicacion Activa 
    246246        self::$active_app = $active_app = Router::get_application();