front.func.inc.php>Revision 1.3

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

front.func.inc.php>Revision 1.3

Post by DeXXus »

After Revision 1.3 (CVS), "front.func.inc.php" was accidentally corrupted as follows:
WAS:

Code: Select all

$link = '<a href="'.$file.'"'; 
NOW IS:

Code: Select all

$link = ' href="'.$file.'"';
SHOULD RETURN TO:

Code: Select all

$link = '<a href="'.$file.'"'; 
EDIT:
It was an oversight by me that a change to "index.php" accompanied this code change and was entirely overlooked by me. ~SORRY~
Delete this thread at any time, THANKS
Last edited by DeXXus on Tue 18. May 2004, 09:23, edited 2 times in total.
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

If you mean the rewrite part - that's correct. Otherwise maps href does not work.

If you use CVS - always update any changed file ;-) or add the diff manually.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

When I update to latest "manually", the rewritten links become preceded with this effect:
EXAMPLE:

index (website start)

category title:1
href="2.5.0.0.1.0.shtml">article title:1
href="2.8.0.0.1.0.shtml">article title:2
href="2.6.0.0.1.0.shtml">article title:3


What have I done wrong?
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

update index.php too.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Oops :oops: time to actually use Tortoise I guess :wink:
Sorry for that... I hated that the "age" is not reflected on the CVS pages for subdirectories with "changed" files in them without manually browsing. Soooo Sorry Oliver and thanks for the quick clarification. All is well for me now!

~SORRY~
Delete this thread at any time, THANKS
Locked