瀏覽代碼

bug fixed with slashes \'

Victor De la Rocha 17 年之前
父節點
當前提交
80b8c6876d
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      classes/themes.class.php

+ 1 - 2
classes/themes.class.php 查看文件

46
 		$this->registrar_vars();
46
 		$this->registrar_vars();
47
 		$this->__();
47
 		$this->__();
48
 		$this->eval_control_structures();
48
 		$this->eval_control_structures();
49
-
50
 		//evaluate All as PHP code
49
 		//evaluate All as PHP code
51
 		ob_start();eval($this->output);
50
 		ob_start();eval($this->output);
52
-		$this->output = ob_get_clean();
51
+		$this->output = stripslashes(ob_get_clean());
53
 	}
52
 	}
54
 
53
 
55
 	function eval_control_structures(){
54
 	function eval_control_structures(){