Forums / General Questions / Change folder name

Change folder name

Locked

Started by bianbian on 10 Jun 2006, 3:38 AM · Views: 4,664

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
10 Jun 2006, 3:38 AM
#1
bianbian avatar

bianbian

New Zenner

Join Date:
Jun 2006
Posts:
10
Plugin Contributions:
0

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.

10 Jun 2006, 3:40 AM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Change folder name

Nope,
manual is only way.

Why do you change folder names so much that this is an issue

Zen cart PCI compliant Hosting

10 Jun 2006, 3:50 AM
#3
bianbian avatar

bianbian

New Zenner

Join Date:
Jun 2006
Posts:
10
Plugin Contributions:
0

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?

10 Jun 2006, 9:21 AM
#4
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

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

Zen cart PCI compliant Hosting

10 Jun 2006, 12:14 PM
#5
bianbian avatar

bianbian

New Zenner

Join Date:
Jun 2006
Posts:
10
Plugin Contributions:
0

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:

10 Jun 2006, 1:44 PM
#6
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

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......

Zen cart PCI compliant Hosting

10 Jun 2006, 2:29 PM
#7
bianbian avatar

bianbian

New Zenner

Join Date:
Jun 2006
Posts:
10
Plugin Contributions:
0

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.