diff options
| author | Damien Zammit <damien@zamaudio.com> | 2021-08-10 19:16:48 +1000 | 
|---|---|---|
| committer | Damien Zammit <damien@zamaudio.com> | 2021-08-10 19:48:07 +1000 | 
| commit | f17018962bfc6cc38a0b2ccc5f40a939f5fe49fa (patch) | |
| tree | 2eb11843b882af0b7a81a3dd70fcad9806bf3ebb /h-source/admin/Library/Url.php | |
| parent | 75cfe0492776b8e4ab89912918929f845c92f74c (diff) | |
Use relative URLs instead of hardcoding domain
Diffstat (limited to 'h-source/admin/Library/Url.php')
| -rwxr-xr-x | h-source/admin/Library/Url.php | 2 | 
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;  	} | 
