bugfixes after first tests

This commit is contained in:
Marc Wäckerlin
2017-02-27 20:54:12 +00:00
parent 59f1ee76c2
commit b5543a6c62
3 changed files with 13 additions and 6 deletions

View File

@@ -59,7 +59,7 @@
}
function checkPath($pathToCheck) {
global $imagepath, $subpath;
$fullpath = $imagepath.'/'.$pathToCheck
$fullpath = $imagepath.'/'.$pathToCheck;
if ($fullpath==realpath($fullpath) && is_dir($fullpath)) {
$subpath=$pathToCheck;
$imagepath = $fullpath;