17.10.2004, 23:27
das einzige was bei mir mit eval drin steht is das hier:
// Load the template/language file using eval or require? (with eval we can show an error message!)
function template_include($filename, $once = false)
{
global $txt, $context, $settings, $options, $scripturl, $modSettings, $language_dir, $user_info, $boardurl, $boarddir;
global $maintenance, $mtitle, $mmessage;
static $templates = array();
// Don't include the file more than once, if $once is true.
if ($once && in_array($filename, $templates))
return;
// Add this file to the include list, whether $once is true or not.
else
$templates[] = $filename;
// Are we going to use eval
aber ich glaube kaum das das das richtige is
// Load the template/language file using eval or require? (with eval we can show an error message!)
function template_include($filename, $once = false)
{
global $txt, $context, $settings, $options, $scripturl, $modSettings, $language_dir, $user_info, $boardurl, $boarddir;
global $maintenance, $mtitle, $mmessage;
static $templates = array();
// Don't include the file more than once, if $once is true.
if ($once && in_array($filename, $templates))
return;
// Add this file to the include list, whether $once is true or not.
else
$templates[] = $filename;
// Are we going to use eval
aber ich glaube kaum das das das richtige is
Alles rund um die Video und Audiobearbeitung findet ihr