sql_query($sql)) ) { query_die(GENERAL_ERROR, 'Could not obtain config index', '', __LINE__, __FILE__, $sql);} $row = $GLOBALS['db']->sql_fetchrow($result); $name = stripslashes($row['main_module']); $chemin = "".$cache."/Configuration/".$cache_prefix."_cache_main.php"; $content = ""; $content .= "sql_freeresult($result); } if (isset($url) AND defined('ADMIN_ALLOW')) { echo ""; die(); } if ( $httpref==1 ) { if (is_file('kernel/addons/home_pref.php')) { include_once('kernel/addons/home_pref.php'); } } $name = trim($name); $file = trim($file); $mod_file = trim($mod_file); $mop = trim($mop); if (stripos_clone($name,'..') || (isset($file) && stripos_clone($file,"..")) || stripos_clone($mod_file,"..") || stripos_clone($mop,"..")) { echo 'You are so cool...'; } else { $modpath .= "modules/".$name."/".$mod_file.".php"; if (file_exists($modpath)) { if (is_file("$modpath")) { include_once("$modpath"); } } else { define('INDEX_FILE', true); if (is_file('kernel/addons/home_probleme.php')) { include_once('kernel/addons/home_probleme.php'); } } }