Move all smarty and path settings into the Smarty Extended class the include files <admin|frontend>_set_paths.php and <admin|frontend>_smarty.php are deprecated. For special frontend smarty (which will be not used in future anyway) a dedicated sub class to Smarty Extended with its own methods should be created
18 lines
602 B
PHP
18 lines
602 B
PHP
<?php declare(strict_types=1);
|
|
/********************************************************************
|
|
* AUTHOR: Clemens Schwaighofer
|
|
* CREATED: 2005/07/12
|
|
* SHORT DESCRIPTION:
|
|
* default smarty vars, and create output template for smarty
|
|
* HISTORY:
|
|
*********************************************************************/
|
|
|
|
/******
|
|
NOTE THAT THIS INCLUDE IS OBSOLETE
|
|
USE THE BELOW FUNCTION CALL IN THE SCRIPT ITSELF
|
|
*******/
|
|
trigger_error('admin_smarty.php is deprecated. Use SmartyExtended->setSmartyVarsAdmin(); or setSmartyVarsFrontend();', E_USER_DEPRECATED);
|
|
$smarty->setSmartyVarsAdmin();
|
|
|
|
// __END__
|