garvinhicking wrote:Hi!
But it would be nice to have the core-installation "active", too.
Ah. Hm, that's currently not on my personal todo-list. The problem is that with your shuffled if-clauses this might break proper installations with symlinked directories and open_basedir restrictions.
hm, my installation is one with symlinks and I have open_basedir-restrictions!?
In case those installations are on a server where a shared installation resorts, this would activate a shared installation without the user wanting this.
why should my resort activate a shared installation? This will be activated only when the user generates a personal_config.inc.php in the core-directory!?
The new order of the if-clauses has in my eyes only one effect:
first s9y looks, if it is started by a shared side (and not by the core-installation). If it is not, then it looks if there is a config-file in serendipityPath.
With the actual code it will first look in serendipityPath (where, as you say, normaly is no config-file) and if the user explicit wants to have an active s9y there, then it uses this config-file, even it s9y is started by a shared site, what is bad.
If the user do not want the core-installation active, then there is no config-file there and it should be absolut unimportant, what the order of the if-clauses is. Or?