Overview
Comment:Ignorer toute erreur d'accès à un fichier potentiellement externe à open_basedir (signalé par @Adrien)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 66c668da047fc4ea92c8a502d4c916bfe664d591
User & Date: bohwaz on 2016-04-25 13:00:26
Other Links: manifest | tags
Context
2016-04-25
13:08
Patch de @freepius pour rester en mode plein écran après enregistrement sur l'édition de squelette check-in: 88db127d21 user: bohwaz tags: trunk
13:00
Ignorer toute erreur d'accès à un fichier potentiellement externe à open_basedir (signalé par @Adrien) check-in: 66c668da04 user: bohwaz tags: trunk
12:19
Renvoie un message user-friendly quand fichier n'existe pas check-in: 1d84b4497f user: bohwaz tags: trunk, stable
Changes

Modified src/include/init.php from [ffaed97ada] to [98758ce8ad].

30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
    return $version;
}

function garradin_manifest()
{
    $file = __DIR__ . '/../../manifest.uuid';

    if (file_exists($file))
    {
        return substr(trim(file_get_contents($file)), 0, 10);
    }

    return false;
}








|







30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
    return $version;
}

function garradin_manifest()
{
    $file = __DIR__ . '/../../manifest.uuid';

    if (@file_exists($file))
    {
        return substr(trim(file_get_contents($file)), 0, 10);
    }

    return false;
}