From: Joshua Wise Date: Tue, 23 Mar 2010 02:24:26 +0000 (-0400) Subject: Make config page refuse to allow you to select the mini theme (it should only be... X-Git-Url: http://git.joshuawise.com/patchfork.git/commitdiff_plain/0c1f6f504940ab4b9486757cee541b22f0aab8a5 Make config page refuse to allow you to select the mini theme (it should only be accessible through mini.php). --- diff --git a/player/config.php b/player/config.php index 7146eed..748156c 100644 --- a/player/config.php +++ b/player/config.php @@ -213,6 +213,8 @@ $themes = get_available_themes(); $ctheme = get_config("theme", "default"); foreach($themes as $theme) { + if ($theme == "mini") + continue; echo "\n