23450 Posts in 18899 Topics by 2877 members
|Go to End|
15 May 2009 at 11:00am Last edited: 15 May 2009 11:04am
I'm wondering if is possible to change the directory structure of SS.
If it is, where is the correct place to do the changes?
I want it to be like this:
./modules/all other modules will be put here
So basically what I want is to have all modules installed in ./modules/ directory instead of in the SS root directory.
15 May 2009 at 11:57am
You can do that, All you would need to do is create a /modules/_config.php will all the combined information of module-name/_config.php files (as a _config tells SS to load this code, and it only loads it up 1 directory I believe) and then you would just need to edit the JS, Image and CSS paths in each module to point to the new location
15 May 2009 at 8:45pm Last edited: 15 May 2009 8:46pm
It works. Thanks!
I've created a "./modules/_config.php", that dynamically includes the "_config.php" files in all subfolders.
|Go to Top|