mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
cleanup some ancient code and fix check for $path so that it will not pass if theme_include() will not return anything. also add an empty zen.css file for the zen template
This commit is contained in:
@@ -97,14 +97,9 @@ class Theme {
|
||||
*
|
||||
* Provide a sane default if nothing is chosen or the specified theme does not exist.
|
||||
*
|
||||
* @param bool $installing (optional) default false, if true return the name of the first base theme
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
static public function url($installing = false) {
|
||||
|
||||
if($installing)
|
||||
return self::$base_themes[0];
|
||||
static public function url() {
|
||||
|
||||
$uid = App::$profile_uid ?: local_channel();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user