Skip to content

Commit

Permalink
Adding check for json extension into the config.php script. This fixe…
Browse files Browse the repository at this point in the history
…s trac ticket #9635
  • Loading branch information
Miha Vrhovnik committed Apr 19, 2011
1 parent 6d38912 commit 7ee066a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions web/config.php
Expand Up @@ -77,6 +77,10 @@
$majorProblems[] = 'Install and enable the <strong>SQLite</strong> or <strong>PDO_SQLite</strong> extension.';
}

if (!function_exists('json_encode')) {
$majorProblems[] = 'Install and enable the <strong>json</strong> extension.';
}

// php.ini
if (!ini_get('date.timezone')) {
$phpini = true;
Expand Down

0 comments on commit 7ee066a

Please sign in to comment.