| @@ 384-387 (lines=4) @@ | ||
| 381 | $path = dirname($_SERVER['SCRIPT_NAME']) . '/' . substr($path, 2); |
|
| 382 | } |
|
| 383 | } |
|
| 384 | else if(strpos($file, '../') === 0) |
|
| 385 | {
|
|
| 386 | $path = $this->_normalizeFilePath(dirname($_SERVER['SCRIPT_NAME']) . "/{$path}");
|
|
| 387 | } |
|
| 388 | ||
| 389 | return $path; |
|
| 390 | } |
|
| @@ 2100-2103 (lines=4) @@ | ||
| 2097 | { |
|
| 2098 | $file = dirname($_SERVER['SCRIPT_NAME']) . '/' . substr($file, 2); |
|
| 2099 | } |
|
| 2100 | elseif(strpos($file, '../') === 0) |
|
| 2101 | { |
|
| 2102 | $file = self::normalizeFilePath(dirname($_SERVER['SCRIPT_NAME']) . "/{$file}"); |
|
| 2103 | } |
|
| 2104 | ||
| 2105 | return $file; |
|
| 2106 | } |
|