diff options
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/install.php b/install.php index 62aee9341..8b07731e0 100644 --- a/install.php +++ b/install.php @@ -50,6 +50,14 @@ if (!class_exists("Memcache")) { $errors .= " - Missing \"Memcache\" php class. Please install your distribution's package of http://pecl.php.net/package/memcache\n"; } +// test pygmentize +ob_start(); +passthru("pygmentize -V 2>&1", $buf); +ob_end_clean(); +if ($buf != "0") { + $errors .= " - Error when testing pygmentize: Return code was \"$buf\".\n"; +} + // test qrencode ob_start(); passthru("qrencode -V 2>&1", $buf); |