diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-01-15 04:45:41 +0300 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-01-15 04:45:41 +0300 |
commit | 24e2f2556d3a410456dcc2a14eb3772439eecfad (patch) | |
tree | 16f40dc98abc0278a147ee721b1654f93731079a | |
parent | 8866a35f611734d3c21aa38b107dd5ef8d9dbdda (diff) |
- added minimum version test FIX #13
-rwxr-xr-x | index.php | 11 | ||||
-rw-r--r-- | modules/FrontController.php | 1 |
2 files changed, 8 insertions, 4 deletions
@@ -6,18 +6,23 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
* @version $Id$
*/
+
/** * PHP Configuration init - */ + */
+ error_reporting(E_ALL|E_NOTICE); @ini_set('display_errors', 1); -@ini_set('magic_quotes_runtime', 0); -date_default_timezone_set('Europe/London');
+@ini_set('magic_quotes_runtime', 0);
if(!defined('PIWIK_INCLUDE_PATH'))
{ define('PIWIK_INCLUDE_PATH', '.');
}
+require_once PIWIK_INCLUDE_PATH . "/modules/testMinimumPhpVersion.php";
+
+
+date_default_timezone_set('Europe/London');
if(!defined('ENABLE_DISPATCH'))
{
define('ENABLE_DISPATCH', true);
diff --git a/modules/FrontController.php b/modules/FrontController.php index 4ad7ef66cf..67767eaffc 100644 --- a/modules/FrontController.php +++ b/modules/FrontController.php @@ -177,7 +177,6 @@ class Piwik_FrontController </body> </html> - '; print($html); |