We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce31e1e commit e16c393Copy full SHA for e16c393
1 file changed
lib/functions.php
@@ -782,7 +782,7 @@ function get_selected_theme() : string {
782
}
783
784
785
- if (!file_exists(CACTI_PATH_INCLUDE . '/themes/' . $theme . '/main.css')) {
+ if (isset($_SESSION[SESS_USER_ID]) && !file_exists(CACTI_PATH_INCLUDE . '/themes/' . $theme . '/main.css')) {
786
foreach ($themes as $t => $name) {
787
if (file_exists(CACTI_PATH_INCLUDE . '/themes/' . $t . '/main.css')) {
788
$theme = $t;
0 commit comments