diff options
| author | Yuchen Pei <hi@ypei.me> | 2021-10-12 08:27:09 +1100 | 
|---|---|---|
| committer | Yuchen Pei <hi@ypei.me> | 2021-10-12 08:27:09 +1100 | 
| commit | 72cce24864b064b5762f4fe97fdf40d8d2ad4b51 (patch) | |
| tree | 408f687c56f060aaac18622d2b091f6e080f76d4 /h-source/Library/Theme.php | |
| parent | a349d5115056f17496bba1f88f8043e87de6d9bd (diff) | |
| parent | a433241c0aff14110d1355f904d3dace8b6bae6b (diff) | |
Merge branch 'development' into h-node
Diffstat (limited to 'h-source/Library/Theme.php')
| -rwxr-xr-x | h-source/Library/Theme.php | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/h-source/Library/Theme.php b/h-source/Library/Theme.php index 10c0fce..fe938ee 100755 --- a/h-source/Library/Theme.php +++ b/h-source/Library/Theme.php @@ -39,11 +39,9 @@ class Theme {  	function __construct($controller) { -		$protocol = Params::$useHttps ? "https" : "http"; -  		$this->controller = $controller; -		$this->baseUrl = MOD_REWRITE_MODULE === true ? "$protocol://" . DOMAIN_NAME : "$protocol://" . DOMAIN_NAME . '/index.php'; -		$this->baseUrlSrc = "$protocol://" . DOMAIN_NAME; +		$this->baseUrl = MOD_REWRITE_MODULE === true ? '': '/index.php'; +		$this->baseUrlSrc = '';  	} | 
