App::get_baseurl is now replaced with System::baseUrl
This commit is contained in:
@@ -24,8 +24,8 @@ function frost_content_loaded(App $a) {
|
||||
// I could do this in style.php, but by having the CSS in a file the browser will cache it,
|
||||
// making pages load faster
|
||||
if( $a->module === 'home' || $a->module === 'login' || $a->module === 'register' || $a->module === 'lostpass' ) {
|
||||
//$a->page['htmlhead'] = str_replace('$stylesheet', App::get_baseurl() . '/view/theme/frost/login-style.css', $a->page['htmlhead']);
|
||||
$a->theme['stylesheet'] = App::get_baseurl() . '/view/theme/frost/login-style.css';
|
||||
//$a->page['htmlhead'] = str_replace('$stylesheet', System::baseUrl() . '/view/theme/frost/login-style.css', $a->page['htmlhead']);
|
||||
$a->theme['stylesheet'] = System::baseUrl() . '/view/theme/frost/login-style.css';
|
||||
}
|
||||
|
||||
if ( $a->module === 'login' ) {
|
||||
|
||||
Reference in New Issue
Block a user