aboutsummaryrefslogtreecommitdiff
path: root/h-source/admin/Library/Url.php
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2021-10-12 08:27:09 +1100
committerYuchen Pei <hi@ypei.me>2021-10-12 08:27:09 +1100
commit72cce24864b064b5762f4fe97fdf40d8d2ad4b51 (patch)
tree408f687c56f060aaac18622d2b091f6e080f76d4 /h-source/admin/Library/Url.php
parenta349d5115056f17496bba1f88f8043e87de6d9bd (diff)
parenta433241c0aff14110d1355f904d3dace8b6bae6b (diff)
Merge branch 'development' into h-node
Diffstat (limited to 'h-source/admin/Library/Url.php')
-rwxr-xr-xh-source/admin/Library/Url.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/h-source/admin/Library/Url.php b/h-source/admin/Library/Url.php
index 4e2ca5e..54d6e3e 100755
--- a/h-source/admin/Library/Url.php
+++ b/h-source/admin/Library/Url.php
@@ -9,7 +9,7 @@ class Url {
//get the url starting from the root folder
public static function getRoot($pathFromRootFolder = null) {
- $url = MOD_REWRITE_MODULE === true ? 'http://' . DOMAIN_NAME . '/' . $pathFromRootFolder : 'http://' . DOMAIN_NAME . '/index.php/' . $pathFromRootFolder;
+ $url = MOD_REWRITE_MODULE === true ? '/admin/' . $pathFromRootFolder : '/admin/index.php/' . $pathFromRootFolder;
return $url;
}