
24.03.2010, 12:15
|
|
Участник форума
Регистрация: 07.08.2008
Сообщений: 281
С нами:
9347610
Репутация:
165
|
|
Сообщение от d_x
PHP код:
$this->template = preg_replace( '/\{php\}(.*?)\{\/php\}/ise',"eval('\\1')", $this->template);
Код:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /var/www/system/templates.class.php(40) : regexp code(1) : eval()'d code on line 1
Parse error: syntax error, unexpected $end in /var/www/system/templates.class.php(40) : regexp code(1) : eval()'d code on line 1

|
|
|