From 4bb6876c78ce77f2dafcc1b21b410419bb03ce03 Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Thu, 17 Mar 2016 21:13:24 +0100 Subject: [PATCH] Add back negation! --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index d031fb0f7..86f462ce0 100644 --- a/index.php +++ b/index.php @@ -20,7 +20,7 @@ if (version_compare($ver = PHP_VERSION, $req = GRAV_PHP_MIN, '<')) { date_default_timezone_set(@date_default_timezone_get()); // Set internal encoding if mbstring loaded -if (extension_loaded('mbstring')) { +if (!extension_loaded('mbstring')) { die("'mbstring' extension is not loaded. This is required for Grav to run correctly"); } mb_internal_encoding('UTF-8');