Added the path './' before all required or included files to avoid conflicts with the 'include_path' directive
This commit is contained in:
@@ -149,5 +149,5 @@ if (empty($lang)) {
|
||||
|
||||
// Define the associated filename and load the translation
|
||||
$lang_file = $lang_path . $available_languages[$lang][1] . '.inc.php3';
|
||||
require($lang_file);
|
||||
require('./' . $lang_file);
|
||||
?>
|
Reference in New Issue
Block a user