From b05845f495e7561eddf2ad5b0c9325649f5289af Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 17 Mar 2024 22:21:55 +0100 Subject: 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 --- Zotlabs/Render/Theme.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Zotlabs/Render') diff --git a/Zotlabs/Render/Theme.php b/Zotlabs/Render/Theme.php index dc23eae84..543bf7a3f 100644 --- a/Zotlabs/Render/Theme.php +++ b/Zotlabs/Render/Theme.php @@ -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(); -- cgit v1.2.3