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:

upgrade-script.php
35 35
 * @description  xyz
36 36
 */
37 37
include_once(dirname(__FILE__).'/framework/UpgradeHelper.php');
38

  
38
// PHP less then 5.3.2 is prohibited ---
39
if (version_compare(PHP_VERSION, '5.3.2', '<')) {
40
    $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 />'
41
          . 'Please change your PHP-Version to any kind from 5.3.2 and up!<br />'
42
          . 'If you have problems to solve that, ask your hosting provider for it.<br  />'
43
          . 'The very best solution is the use of PHP-5.4 and up</p>';
44
    die($sMsg);
45
}
39 46
// --- delete fatal disturbing files before upgrade starts -------------------------------
40 47
$aPreDeleteFiles = array(
41 48
// list of files

Also available in: Unified diff