Clowner Posted October 5, 2008 Share Posted October 5, 2008 can anyone tell me wat that is on mypage i got Fatal error: Cannot redeclare class smarty in /home/a4777428/public_html/videosite/UPLOAD/include/smarty/libs/Smarty.class.php on line 65 and i found this in my config.php file(part of it) class Smarty { var $template_dir = 'templates'; var $compile_dir = 'templates_c'; var $config_dir = 'configs'; var $plugins_dir = array('plugins'); var $debugging = false; var $error_reporting = null; var $debug_tpl = ''; var $debugging_ctrl = 'NONE'; var $compile_check = true; var $force_compile = false; var $caching = 0; var $cache_dir = 'cache'; var $cache_lifetime = 3600; var $cache_modified_check = false; var $php_handling = SMARTY_PHP_PASSTHRU; var $security = false; var $secure_dir = array(); var $security_settings = array( 'PHP_HANDLING' => false, 'IF_FUNCS' => array('array', 'list', 'isset', 'empty', 'count', 'sizeof', 'in_array', 'is_array', 'true', 'false', 'null'), 'INCLUDE_ANY' => false, 'PHP_TAGS' => false, 'MODIFIER_FUNCS' => array('count'), 'ALLOW_CONSTANTS' => false ); var $trusted_dir = array(); var $left_delimiter = '{'; var $right_delimiter = '}'; var $request_vars_order = 'EGPCS'; var $request_use_auto_globals = true; var $compile_id = null; var $use_sub_dirs = false; var $default_modifiers = array(); var $default_resource_type = 'file'; var $cache_handler_func = null; var $autoload_filters = array(); var $config_overwrite = true; var $config_booleanize = true; var $config_read_hidden = false; var $config_fix_newlines = true; var $default_template_handler_func = ''; var $compiler_file = 'Smarty_Compiler.class.php'; var $compiler_class = 'Smarty_Compiler'; var $config_class = 'Config_File'; var $_tpl_vars = array(); var $_smarty_vars = null; var $_sections = array(); var $_foreach = array(); var $_tag_stack = array(); var $_conf_obj = null; var $_config = array(array('vars' => array(), 'files' => array())); var $_smarty_md5 = 'f8d698aea36fcbead2b9d5359ffca76f'; var $_version = '2.6.18'; var $_inclusion_depth = 0; var $_compile_id = null; var $_smarty_debug_id = 'SMARTY_DEBUG'; var $_smarty_debug_info = array(); var $_cache_info = array(); var $_file_perms = 0644; var $_dir_perms = 0771; var $_reg_objects = array(); var $_plugins = array( 'modifier' => array(), 'function' => array(), 'block' => array(), 'compiler' => array(), 'prefilter' => array(), 'postfilter' => array(), 'outputfilter' => array(), 'resource' => array(), 'insert' => array()); var $_cache_serials = array(); var $_cache_include = null; var $_cache_including = false; function Smarty() { Quote Link to comment https://forums.phpfreaks.com/topic/127103-class-smarty/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.