Change the URL category Change the URL category
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Change the URL category

Started by serg5777, June 30, 2012, 03:45:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

serg5777

Help please to change. The file index.php:
$link = "<a href=\"index.php?cat={$cid}\">{$cat['details']['name']}</a>";
changing this:
$link = "<a href=\"cat={$cid}\">{$cat['details']['name']}</a>";
But the URL stops working. What should still change the code? Thank you :)

ΑndrĂ©

Without having a clue what you're doing, try
$link = "<a href=\"?cat={$cid}\">{$cat['details']['name']}</a>";

serg5777