mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 02:14:26 +02:00
fix minor typo in debug code
This commit is contained in:
@@ -695,8 +695,6 @@ function smarty_func_assign_debug_info($args, &$smarty_obj) {
|
||||
|
||||
$included_templates = $smarty_obj->_smarty_debug_info;
|
||||
|
||||
$smarty_obj->assign("_debug_expand", $smarty_obj->_smarty_debug_expand);
|
||||
|
||||
$smarty_obj->assign("_debug_keys", array_keys($assigned_vars));
|
||||
$smarty_obj->assign("_debug_vals", array_values($assigned_vars));
|
||||
|
||||
|
@@ -669,7 +669,7 @@ function _generate_debug_output() {
|
||||
ob_start();
|
||||
$force_compile_orig = $this->force_compile;
|
||||
$this->force_compile = true;
|
||||
$compile_path = $this->_get_compile_path($tpl_file);
|
||||
$compile_path = $this->_get_compile_path($this->debug_tpl);
|
||||
if ($this->_process_template($this->debug_tpl, $compile_path))
|
||||
{
|
||||
if ($this->show_info_include) {
|
||||
|
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
error_reporting(E_ALL);
|
||||
|
||||
require("Smarty.class.php");
|
||||
|
||||
$smarty = new Smarty;
|
||||
|
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
error_reporting(E_ALL);
|
||||
|
||||
require("Smarty.class.php");
|
||||
|
||||
$smarty = new Smarty;
|
||||
|
@@ -669,7 +669,7 @@ function _generate_debug_output() {
|
||||
ob_start();
|
||||
$force_compile_orig = $this->force_compile;
|
||||
$this->force_compile = true;
|
||||
$compile_path = $this->_get_compile_path($tpl_file);
|
||||
$compile_path = $this->_get_compile_path($this->debug_tpl);
|
||||
if ($this->_process_template($this->debug_tpl, $compile_path))
|
||||
{
|
||||
if ($this->show_info_include) {
|
||||
|
Reference in New Issue
Block a user