From 13e6b62128f0bfdda02df1e71bacb149059ce535 Mon Sep 17 00:00:00 2001 From: sunhater Date: Wed, 16 Apr 2014 20:17:20 +0300 Subject: [PATCH] 3.10 --- core/class/browser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];