diff options
author | Mario <mario@mariovavti.com> | 2024-03-17 22:21:55 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-03-17 22:21:55 +0100 |
commit | b05845f495e7561eddf2ad5b0c9325649f5289af (patch) | |
tree | 2cc6e8f35b3ca1435476ca45e75885e01b3a287b /Zotlabs/Render | |
parent | 732dbfd6f56510127405767ca86af240d3c85cf4 (diff) | |
download | volse-hubzilla-b05845f495e7561eddf2ad5b0c9325649f5289af.tar.gz volse-hubzilla-b05845f495e7561eddf2ad5b0c9325649f5289af.tar.bz2 volse-hubzilla-b05845f495e7561eddf2ad5b0c9325649f5289af.zip |
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
Diffstat (limited to 'Zotlabs/Render')
-rw-r--r-- | Zotlabs/Render/Theme.php | 7 |
1 files changed, 1 insertions, 6 deletions
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(); |