root folder
This commit is contained in:
		@@ -59,7 +59,7 @@ function tarHeader($Name, $Size, $information=NULL) {
 | 
			
		||||
}
 | 
			
		||||
function checkPath($pathToCheck) {
 | 
			
		||||
  global $imagepath, $subpath;
 | 
			
		||||
  $fullpath = $imagepath.'/'.$pathToCheck;
 | 
			
		||||
  $fullpath = preg_replace('/\/$/', '', $imagepath.'/'.$pathToCheck);
 | 
			
		||||
  if ($fullpath==realpath($fullpath) && is_dir($fullpath)) {
 | 
			
		||||
    $subpath=$pathToCheck;
 | 
			
		||||
    $imagepath = $fullpath;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user