Zen Cart Logo
Forums / Upgrading to 1.5.x / 1.5 beta configure.php

1.5 beta configure.php

Locked

Views: 1,010

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
27 Oct 2011, 10:48 PM
#1
fajmp avatar

fajmp

Zen Follower

Join Date:
Jun 2008
Location:
Canada
Posts:
132
Plugin Contributions:
0

1.5 beta configure.php

I am putting the new beta 1.5 on my local host using wampp.
I'm trying to change the configure.php file which seems different than the older version.
It asks me to configure the configure file to the new "admin" folder (which I changed the name of...
here is the line that is confusing to me..

define('DIR_FS_ADMIN', realpath(dirname(FILE) . '/../') . '/');

where do I put the newly named name? Is dirname that I replace?

also this one:
define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '-', $p1) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');

27 Oct 2011, 10:59 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: 1.5 beta configure.php

Simple: You don't change the file at all.

Just rename the admin folder to something else. The configure.php file will figure it out magically for you as long as you don't mess with it.

See the FAQ article (and note the instructions that tell you what steps to skip when using v1.5): https://www.zen-cart.com/tutorials/index.php?article=33

28 Oct 2011, 1:44 PM
#3
fajmp avatar

fajmp

Zen Follower

Join Date:
Jun 2008
Location:
Canada
Posts:
132
Plugin Contributions:
0

Re: 1.5 beta configure.php

Thank you that worked!