Lines Matching refs:path
307 $path = empty($conf[$c]) ? $conf['savedir'] . '/' . $p : $conf[$c];
308 $conf[$c] = init_path($path);
310 $path = fullpath($path);
311 nice_die("The $c ('$p') at $path is not found, isn't accessible or writable.
391 * @param string $path
395 function init_path($path) argument
398 $p = fullpath($path);
400 $p = fullpath(DOKU_INC . $path);
581 * @param string $path
586 function fullpath($path, $exists = false) argument
593 if ($path[0] == '/') {
597 if (preg_match('!^([a-zA-z]:)(.*)!', $path, $match)) {
599 $path = $match[2];
600 } elseif (preg_match('!^(\\\\\\\\[^\\\\/]+\\\\[^\\\\/]+[\\\\/])(.*)!', $path, $match)) {
602 $path = $match[2];
605 $path = str_replace('\\', '/', $path);
610 $path = $base . '/' . $path;
613 return fullpath($path, $exists);
619 $path = explode('/', $path);
621 foreach ($path as $p) {