Elxis CMS Forum
Support => General => Topic started by: xmanhattan on October 07, 2013, 10:25:21
-
Datahell,
I just downloaded the latest and unzipped it to another directory. I copied all of the directories to the previous version that I have installed.
Then I opened the configuration files of both versions and noticed that all of the variables are in different locations.
A suggestion: keeping the variables in the same, or sorted order, makes it easier to upgrade local test versions.
Note: the line defined('_ELXIS_') or die ('Direct access to this location is not allowed');
is not included in the new configuration file.
I assume that it is not necessary.
-
The order of the variables have no importance at all. If you save the configuration from the admin panel the variables well get the usual order you know.
The sample configuration file (configuration_sample.php) is just a sample... During install a real configuration file (configuration.php) is being generated and the sample one is being deleted.
defined('_ELXIS_') or die ('Direct access to this location is not allowed');
The above must exist in configuration file, it doesn't exist in the sample file but if you save the settings from admin panel it will be added.
The luck of the above line is no problem at all, not even a security issue as the file echoes nothing to the browser.
In any case the sample configuration file is just a sample, and when you save the settings from the admin panel Elxis re-generates it from scratch making match the exact Elxis version you have.