ИБ
Ирина Белова
Помогите исправить синтаксическую ошибку в PHP Parse error: syntax error, unexpected '(', expecting T_STRING or T_VARIA
ошибка Parse error: syntax error, unexpected '(', expecting T_STRING or T_VARIABLE or '$' in
ошибка показывает на эту строчку parent::() ;
template_dir = TPL . 'src' . DS;
$this->compile_dir = TPL . 'cmpl' . DS;
$this->cache_dir = TPL . 'cch' . DS;
}
}
?>
include( LIB . 'Smarty' . DS . 'Smarty.class.php' );
class Tpl extends Smarty {
function __construct( ) {
parent::() ;
$this->template_dir = TPL . 'src' . DS;
$this->compile_dir = TPL . 'cmpl' . DS;
$this->cache_dir = TPL . 'cch' . DS;
}
}