-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathis_optimizer.php
More file actions
executable file
·22 lines (19 loc) · 915 Bytes
/
is_optimizer.php
File metadata and controls
executable file
·22 lines (19 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/**
* @author Pierre-Henry Soria <ph7software@gmail.com>
* @copyright (c) 2011-2013, Pierre-Henry Soria. All Rights Reserved.
* @license MIT License (http://opensource.org/licenses/mit-license.php)
* @package pH7CMS
*/
/*** ionCube ***/
if (extension_loaded('ionCube Loader'))
print "<p style='color:green'>Yes! ionCube PHP Loader is installed.</p>";
else
print "<p style='color:red'>No! ionCube PHP Loader is not installed.</p>";
/*** Zend Optimizer/Guard ***/
if (function_exists('zend_loader_enabled') && zend_loader_enabled())
printf("<p style='color:green'>Yes! Zend Guard %f is installed.</p>", zend_loader_version());
elseif (function_exists('zend_optimizer_version'))
printf("<p style='color:green'>Yes! Zend Optimizer %f is installed.</p>", zend_optimizer_version());
else
print "<p style='color:red'>No! Zend Optimizer/Guard is not installed.</p>";