Project

General

Profile

« Previous | Next » 

Revision 2075

Added by darkviper almost 11 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:

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
{

Also available in: Unified diff