Home
last modified time | relevance | path

Searched refs:allowed_dirs (Results 1 – 1 of 1) sorted by relevance

/plugin/photogallery/phpThumb/
H A Dphpthumb.class.php1209 public function matchPath($path, $allowed_dirs) { argument
1210 if (!empty($allowed_dirs)) {
1211 foreach ($allowed_dirs as $one_dir) {
1239 public function resolvePath($path, $allowed_dirs) { argument
1240 …$this->DebugMessage('resolvePath: '.$path.' (allowed_dirs: '.print_r($allowed_dirs, true).')', __F…
1244 array_unshift($allowed_dirs, $this->realPathSafe($this->config_document_root));
1247 array_unshift($allowed_dirs, $this->realPathSafe( __DIR__ ));
1259 …$this->DebugMessage('resolvePath: iteration, path='.$path.', base path = '.$allowed_dirs[0], __FIL…
1279 if (!$this->matchPath($path, $allowed_dirs)) {
1302 $allowed_dirs[0] = $path;