Changeset 3204 for branches/2.0/install.php
- Timestamp:
- Mar 16, 2009, 6:04:13 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/install.php
r3196 r3204 22 22 // +-----------------------------------------------------------------------+ 23 23 24 //------------------------------------------------- check php version25 if (version_compare(PHP_VERSION, '5', '<'))26 {27 die('Piwigo requires PHP 5 or above.');28 }29 30 24 //----------------------------------------------------------- include 31 25 define('PHPWG_ROOT_PATH','./'); … … 224 218 load_language( 'install.lang', '', array('language'=>$language, 'target_charset'=>'utf-8') ); 225 219 220 //------------------------------------------------- check php version 221 if (version_compare(PHP_VERSION, REQUIRED_PHP_VERSION, '<')) 222 { 223 include(PHPWG_ROOT_PATH.'install/php5_apache_configuration.php'); 224 } 225 226 226 //----------------------------------------------------- template initialization 227 include( PHPWG_ROOT_PATH .'include/template.class.php'); 227 228 $template=new Template(PHPWG_ROOT_PATH.'admin/template/goto', 'roma'); 228 229 $template->set_filenames( array('install'=>'install.tpl') );
Note: See TracChangeset
for help on using the changeset viewer.