diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-20 15:35:49 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-20 15:35:49 +0100 |
| commit | d1b0b7c2e2c2a21da6282bc772fdd312ccf2ed52 (patch) | |
| tree | 6a47d8c1ec802212d566e5e3fd145a1a4df8a466 /libs | |
| parent | c46f0d990ac840fc48d59c6cbc119664d56a7dca (diff) | |
| download | smarty-master.tar.gz smarty-master.tar.bz2 smarty-master.zip | |
- Debug.php, Smarty.php: add ~E_DEPRECATED to error_reporting masks
- DefaultExtension.php: comment out trigger_error for implode deprecation
- libs/Smarty.class.php: minor style cleanup (require_once without parens)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/Smarty.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 459fe2cf..e1cdea1e 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -16,7 +16,7 @@ define('__SMARTY_DIR', __DIR__ . '/../src/'); // Global function declarations -require_once(__SMARTY_DIR . "/functions.php"); +require_once __SMARTY_DIR . "/functions.php"; spl_autoload_register(function ($class) { // Class prefix @@ -37,6 +37,6 @@ spl_autoload_register(function ($class) { // If the file exists, require it if (file_exists($file)) { - require_once($file); + require_once $file; } }); |
