Changeset 2747 for trunk/upgrade.php


Ignore:
Timestamp:
Oct 15, 2008, 7:50:12 PM (16 years ago)
Author:
patdenice
Message:
  • Install process now looks like goto/roma.
  • Move install.tpl to goto template.
  • add charset utf8 to fatal error function.
  • Check php version on install and upgrade, and die if < 5.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upgrade.php

    r2700 r2747  
    2121// | USA.                                                                  |
    2222// +-----------------------------------------------------------------------+
     23
     24//check php version
     25if (version_compare(PHP_VERSION, '5', '<'))
     26{
     27  die('Piwigo requires PHP 5 or above.');
     28}
    2329
    2430define('PHPWG_ROOT_PATH', './');
Note: See TracChangeset for help on using the changeset viewer.