mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
default for $debug_tpl will be set up in Smarty_Internal_Debug
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
===== 3.1.24.dev ===== (xx.xx.2015)
|
||||
13.05.2015
|
||||
- improvement remove not needed ?><?php transitions from compiled code
|
||||
- improvement of debugging:
|
||||
- use fresh Smarty object to display the debug console because of possible problems when the Smarty
|
||||
was extended or Smarty properties had been modified in the class source
|
||||
- display Smarty version number
|
||||
- Truncate lenght of Origin display and extend strin value display to 80 character
|
||||
|
||||
12.05.2015
|
||||
- bugfix {$smarty.constant.TEST} did fail on undefined constant https://github.com/smarty-php/smarty/issues/28
|
||||
|
@@ -111,7 +111,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
||||
/**
|
||||
* smarty version
|
||||
*/
|
||||
const SMARTY_VERSION = '3.1.24-dev/3';
|
||||
const SMARTY_VERSION = '3.1.24-dev/4';
|
||||
|
||||
/**
|
||||
* define variable scopes
|
||||
@@ -686,8 +686,6 @@ class Smarty extends Smarty_Internal_TemplateBase
|
||||
} else {
|
||||
$this->setPluginsDir(SMARTY_PLUGINS_DIR);
|
||||
}
|
||||
|
||||
$this->debug_tpl = 'file:' . dirname(__FILE__) . '/debug.tpl';
|
||||
if (isset($_SERVER['SCRIPT_NAME'])) {
|
||||
Smarty::$global_tpl_vars['SCRIPT_NAME'] = new Smarty_Variable($_SERVER['SCRIPT_NAME']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user