Project

General

Profile

« Previous | Next » 

Revision 2075

Added by darkviper over 10 years ago

! Installer and upgradescript will never start with php below 5.3.2
  1. little correction for autoloading PHPMailer in install/save

View differences:

index.php
32 32
 * @since        File available since 2012-04-01
33 33
 * @description  xyz
34 34
 */
35

  
35
// PHP less then 5.3.2 is prohibited ---
36
if (version_compare(PHP_VERSION, '5.3.2', '<')) {
37
    $sMsg = '<p style="color: #ff0000;">WebsiteBaker 2.8.4 and above is not able to run with PHP-Version less then 5.3.2!!<br />'
38
          . 'Please change your PHP-Version to any kind from 5.3.2 and up!<br />'
39
          . 'If you have problems to solve that, ask your hosting provider for it.<br  />'
40
          . 'The very best solution is the use of PHP-5.4 and up</p>';
41
    die($sMsg);
42
}
36 43
// Start a session
37 44
if(!defined('SESSION_STARTED')) {
38 45
	session_name('wb_session_id');

Also available in: Unified diff