I have updated from 1.10.x to 1.14.2 this night.
Just for fun I had a look at both ost-config.php files and I wonder if these changes are important. I still use the old ost-config.php at the moment.
For starters the 1.14.2 ost-config contains a lot more (remarked) text below the SSL options.
But this was at the start.
Old 1.10 version:
Disable direct access.
if(!strcasecmp(basename($_SERVER['SCRIPT_NAME']),basename(__FILE__)) || !defined('ROOT_PATH')) die('kwaheri rafiki!');
New 1.14.2 version:
Disable direct access.
if(!strcasecmp(basename($_SERVER['SCRIPT_NAME']),basename(__FILE__)) || !defined('INCLUDE_DIR'))
die('kwaheri rafiki!');
Look at the root_patch and on the new version it's include_dir.
A little further
On the older 1.10.x version it was this:
if(OSTINSTALLED!=TRUE){
if(!file_exists(ROOT_PATH.'setup/install.php')) die('Error: Contact system admin.'); //Something is really wrong!
//Invoke the installer.
header('Location: '.ROOT_PATH.'setup/install.php');
exit;
The new 1.14 it's
if(OSTINSTALLED!=TRUE){
if(!file_exists(ROOT_DIR.'setup/install.php')) die('Error: Contact system admin.'); //Something is really wrong!
//Invoke the installer.
header('Location: '.ROOT_PATH.'setup/install.php');
exit;
I'm talking about root_path (1.10) and root_dir (1.14) difference
Is it wise to change use these things of the new ost-config.php for my updated version? Or doesn't it make any difference / is not important?