Changeset 407 for trunk/index.php

Show
Ignore:
Timestamp:
2011-01-01 15:54:56 (1 year ago)
Author:
hannes
Message:

fixes for PHP strict mode

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/index.php

    r307 r407  
    66 * Description: wrapper file calling all the others directly or indirectly 
    77 * 
    8  * Copyright (C) 2007, 2008, 2009 Hannes Schueller 
     8 * Copyright (C) 2007, 2008, 2009, 2011 Hannes Schueller 
    99 * 
    1010 * This program is free software: you can redistribute it and/or modify 
     
    2525// disable output of error messages and warnings 
    2626ini_set('display_errors', 'Off'); 
     27error_reporting(E_ALL | E_STRICT); 
     28 
     29// explicitely set default timezone 
     30date_default_timezone_set('UTC'); 
    2731 
    2832// if install script is present, redirect there