diff --git a/core/class/browser.php b/core/class/browser.php index 8c3b0b5..4508425 100644 --- a/core/class/browser.php +++ b/core/class/browser.php @@ -72,7 +72,7 @@ public function __construct() { } if (isset($_GET['theme']) && - !$this->checkFilename($_GET['theme']) && + $this->checkFilename($_GET['theme']) && is_dir("themes/{$_GET['theme']}") ) $this->config['theme'] = $_GET['theme'];