From bd6ff6cf31048bc794e22a8d84bed08bcf93c188 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Wed, 6 Jul 2011 15:29:31 +0200 Subject: Rewrites URL to get canonical names, with leading .png for pictures -w/ backward compability- --- index.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index f92ee88..3ebacec 100644 --- a/index.php +++ b/index.php @@ -161,21 +161,21 @@ function change() ".$user."/".$type."/$style/".$color."/"; +$PATH="".$type."/$style/".$color."/".$user.""; $URL=preg_replace('/<[^>]*>/', '', $PATH); ?> @@ -216,7 +216,7 @@ foreach ($Colors as $Color => $ColorCode) -<? echo str_replace(" /> +<? echo str_replace(" /> @@ -224,7 +224,7 @@ foreach ($Colors as $Color => $ColorCode)
[url=http://lastfm.hiegel.fr/]
- [img]http://lastfm.hiegel.fr/BigLine/[/img]
+ [img]http://lastfm.hiegel.fr/.png[/img]
[/url]
-- cgit v1.2.3