URL sent to users by User Manager v Site in conf.inc.php

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
jsavage
Posts: 44
Joined: Sun 2. May 2004, 18:40

URL sent to users by User Manager v Site in conf.inc.php

Post by jsavage »

Not sure if this is a bug or not but earlier today I registered a new user and noticed that the URL sent to the user was not correct. It was sent to the contents of $phpwcms["site"] in conf.inc.php which is:
$phpwcms["site"] = "http://cgi.xxxx.yyyy.com/";

Now my installation is in a subdirectory of my site and the name of the sub directory is recorded thus:
$phpwcms["root"] = "phpwcms";

for completeness I also have the following defined:
$_SERVER["DOCUMENT_ROOT"] = '/files/home2/xxxx';

Thinking that this was my error in conf file, I changed the site to include phpwcms and removed phpwcms from root. Although this fixed the Email URL it broke other areas of the site with lots of errors being displayed when rendering pages so I have now backed out this change.

I am not sure where or how the URL is created in the user manager but now suspect that is where the problem lies.


James
User avatar
Oliver Georgi
Site Admin
Posts: 9919
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

I have fixed that - now the phpwcms root is added too ;-)

Available via CVS on SourceForge.net in some hours.


Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Locked