Skip to content
Extraits de code Groupes Projets
Valider 334aedfc rédigé par mattpiwik's avatar mattpiwik
Parcourir les fichiers

Fixing issue when include path is not set in global scope

git-svn-id: http://dev.piwik.org/svn/trunk@2462 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent faf75ae0
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -58,6 +58,10 @@ class Piwik_Loader
for($i = 0; $i < count(self::$dirs); $i++)
{
$path = PIWIK_INCLUDE_PATH . self::$dirs[$i] . $classPath . '.php';
if(strpos($path, '..'))
{
continue;
}
if(file_exists($path))
{
require_once $path; // prefixed by PIWIK_INCLUDE_PATH
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter