lib/includes/loader.web.php 1 location
|
@@ 180-183 (lines=4) @@
|
| 177 |
|
error("Empty path requested with template: $requestedtemplate"); |
| 178 |
|
} else { |
| 179 |
|
$prevPath = null; |
| 180 |
|
while ($path !== $prevPath && !$store->exists($path)) { |
| 181 |
|
$prevPath = $path; |
| 182 |
|
$path = $store->make_path($path, ".."); |
| 183 |
|
} |
| 184 |
|
if(count($ARCurrent->arCallStack) == 0) { |
| 185 |
|
$arCallArgs = $requestedargs; |
| 186 |
|
} else { |
lib/includes/loader.webdav.php 1 location
|
@@ 121-124 (lines=4) @@
|
| 118 |
|
if (!$path) { |
| 119 |
|
error("Empty path requested with template: $requestedtemplate"); |
| 120 |
|
} else { |
| 121 |
|
while ($path!=$prevPath && !$store->exists($path)) { |
| 122 |
|
$prevPath=$path; |
| 123 |
|
$path=$store->make_path($path, ".."); |
| 124 |
|
} |
| 125 |
|
if ($prevPath==$path) { |
| 126 |
|
error("Database is not initialised, please run <a href=\"".$AR->dir->www."install/install.php\">the installer</a>"); |
| 127 |
|
} else { |
lib/modules/mod_auth/default.php 1 location
|
@@ 18-20 (lines=3) @@
|
| 15 |
|
$requestedPath = "/"; |
| 16 |
|
} |
| 17 |
|
$_cache = $ARConfig->cache; |
| 18 |
|
while ( $requestedPath && $requestedPath!='/' && !$store->exists($requestedPath) ) { |
| 19 |
|
$requestedPath = $store->make_path( $requestedPath, '..' ); |
| 20 |
|
} |
| 21 |
|
$site = current($store->call("system.get.phtml", "", $store->get($requestedPath))); |
| 22 |
|
if ($site) { |
| 23 |
|
$site_config = $site->loadUserConfig(); |