-
Change folder name
Hi, everytime i wan to change my zencart folder name,
I have to go to includes/configure.php and admin/includes/configure.php to change all paths setting.
May I know any good ideas that when i change the folder name, all the directories also change by automatics?
Thanks.
-
Re: Change folder name
Nope,
manual is only way.
Why do you change folder names so much that this is an issue
-
Re: Change folder name
Thanks for reply.
Besides manual changing,
Can I add another constant define to detect new directories after change the folder name?
if can, can i have any references?
-
Re: Change folder name
please remember that you are making the config files non writable
you will have to go in and touch the files anyway.
Im still trying to figure out why you would want to change the name of the folder often enough to worry about it.....
Kinda hard to get google interested if the links keep changing
-
Re: Change folder name
erm..actually I help my friends setup a zencart. He wish once he change the folder name, all directories also will be automatically change without modify again both congfigure file because he worry he will missed any directory paths that haven't modify yet and can't function properly.
Somemore, he may use zencart for his various business use, he wish can be more "user friendly" for him to setup a zencart with his favourite name without go to modify both configure file everytime.
Anyway, thanks for your help.:smile:
-
Re: Change folder name
use the folder name that you want when you set zen cart up...
If you upload zen cart to /store/ folder then zen will automatically put the name of the folder into the paths......
-
Re: Change folder name
Sorry, may i know where's the store folder located at? Have to create by myself?
my friends didn't buy any web hosting so he will use his linux as server.