Ver Mensaje Individual
  #8 (permalink)  
Antiguo 26/12/2013, 09:23
Avatar de jonni09lo
jonni09lo
Colaborador
 
Fecha de Ingreso: septiembre-2011
Ubicación: Estigia
Mensajes: 1.471
Antigüedad: 12 años, 7 meses
Puntos: 397
Respuesta: Smarty Clase constructor

Bueno el error es simple ya que fue un error mio.

Código PHP:
Ver original
  1. include_once SMARTY_BASEFILE;
  2.  
  3. class Plantilla extends Smarty {
  4.     function Plantilla() {
  5.         parent::__construct();
  6.         $this->template_dir = APP_BASEDIR .'/plantillas/templates/';
  7.         $this->compile_dir  = APP_BASEDIR .'/plantillas/templates_c/';
  8.         $this->config_dir   = APP_BASEDIR .'/plantillas/configs/';
  9.         $this->cache_dir    = APP_BASEDIR .'/plantillas/cache/';
  10.    }  
  11. }

Si eso no te funciona debes de decirnos los errores que te dan.

Saludos
__________________
Haz preguntas inteligentes-Como ser Hacker
No hacer preguntas por mensaje privado. No sólo no es inteligente sino que es egoísta.