summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/server/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/server/common.php b/examples/server/common.php
index 5eac8a0..b4efda1 100644
--- a/examples/server/common.php
+++ b/examples/server/common.php
@@ -60,7 +60,7 @@ function relURL($path)
function newServer($store_dir=DEFAULT_STORE_DIR, $server_url=null)
{
if (!isset($server_url)) {
- $server_url = getParentURL();
+ $server_url = getCurrentURL();
}
if (!file_exists($store_dir) && !mkdir($store_dir)) {
print "Could not create the FileStore directory '$store_path'. ".