Ignore:
Timestamp:
Mar 16, 2009, 6:04:13 PM (16 years ago)
Author:
patdenice
Message:

merge r3203 from trunk to branch 2.0.
Move template class inclusion to common.inc.php.
Add forum link in upgrade page.
Install and upgrade try to configure PHP5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/install.php

    r3196 r3204  
    2222// +-----------------------------------------------------------------------+
    2323
    24 //------------------------------------------------- check php version
    25 if (version_compare(PHP_VERSION, '5', '<'))
    26 {
    27   die('Piwigo requires PHP 5 or above.');
    28 }
    29 
    3024//----------------------------------------------------------- include
    3125define('PHPWG_ROOT_PATH','./');
     
    224218load_language( 'install.lang', '', array('language'=>$language, 'target_charset'=>'utf-8') );
    225219
     220//------------------------------------------------- check php version
     221if (version_compare(PHP_VERSION, REQUIRED_PHP_VERSION, '<'))
     222{
     223  include(PHPWG_ROOT_PATH.'install/php5_apache_configuration.php');
     224}
     225
    226226//----------------------------------------------------- template initialization
     227include( PHPWG_ROOT_PATH .'include/template.class.php');
    227228$template=new Template(PHPWG_ROOT_PATH.'admin/template/goto', 'roma');
    228229$template->set_filenames( array('install'=>'install.tpl') );
Note: See TracChangeset for help on using the changeset viewer.