fix minor typo in debug code

This commit is contained in:
mohrt
2001-10-26 19:41:05 +00:00
parent ed15c856ce
commit d4022c9d33
5 changed files with 6 additions and 4 deletions

View File

@@ -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));

View File

@@ -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) {

View File

@@ -1,5 +1,7 @@
<?php
error_reporting(E_ALL);
require("Smarty.class.php");
$smarty = new Smarty;

View File

@@ -1,5 +1,7 @@
<?php
error_reporting(E_ALL);
require("Smarty.class.php");
$smarty = new Smarty;

View File

@@ -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) {