Revision 2075
Added by darkviper almost 12 years ago
! Installer and upgradescript will never start with php below 5.3.2
- little correction for autoloading PHPMailer in install/save
| branches/2.8.x/CHANGELOG | ||
|---|---|---|
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
=============================================================================== |
| 13 | 13 |
|
| 14 |
06 Jan-2014 Build 2075 Manuela v.d.Decken(DarkViper) |
|
| 15 |
! Installer and upgradescript will never start with php below 5.3.2 |
|
| 16 |
# little correction for autoloading PHPMailer in install/save |
|
| 14 | 17 |
06 Jan-2014 Build 2074 Manuela v.d.Decken(DarkViper) |
| 15 | 18 |
+ added new outputfilter to use OutputFilterDashboard |
| 16 | 19 |
06 Jan-2014 Build 2073 Manuela v.d.Decken(DarkViper) |
| branches/2.8.x/wb/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 |
| branches/2.8.x/wb/admin/interface/version.php | ||
|---|---|---|
| 51 | 51 |
|
| 52 | 52 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
| 53 | 53 |
if(!defined('VERSION')) define('VERSION', '2.8.4');
|
| 54 |
if(!defined('REVISION')) define('REVISION', '2073');
|
|
| 54 |
if(!defined('REVISION')) define('REVISION', '2075');
|
|
| 55 | 55 |
if(!defined('SP')) define('SP', '');
|
| branches/2.8.x/wb/install/save.php | ||
|---|---|---|
| 36 | 36 |
$debug = true; |
| 37 | 37 |
if(!defined('DEBUG')) { define('DEBUG', true); }
|
| 38 | 38 |
|
| 39 |
include(dirname(dirname(__FILE__)).'/framework/globalExceptionHandler.php'); |
|
| 40 |
include(dirname(dirname(__FILE__)).'/framework/WbAutoloader.php'); |
|
| 41 |
WbAutoloader::doRegister(array('admin'=>'a', 'modules'=>'m'));
|
|
| 39 |
include(dirname(__DIR__).'/framework/globalExceptionHandler.php'); |
|
| 40 |
include(dirname(__DIR__).'/framework/WbAutoloader.php'); |
|
| 41 |
WbAutoloader::doRegister(array('admin'=>'a', 'modules'=>'m', 'templates'=>'t', 'include'=>'i'));
|
|
| 42 |
// register PHPMailer autoloader --- |
|
| 43 |
if (!function_exists('PHPMailerAutoload')) {
|
|
| 44 |
require(dirname(__DIR__).'/include/phpmailer/PHPMailerAutoload.php'); |
|
| 45 |
} |
|
| 42 | 46 |
|
| 43 | 47 |
function errorLogs($error_str) |
| 44 | 48 |
{
|
| branches/2.8.x/wb/install/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