From 894a33d744ede7ec9977133e632279ed55976f4f Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 29 Jan 2009 03:22:02 +0000 Subject: Add support for pretty urls. So now instead of urls like: http://example.com/gallery3/index.php/albums/2 http://example.com/gallery3/index.php/photos/9 You'll see urls like: http://example.com/gallery3/index.php/Family/Weddings http://example.com/gallery3/index.php/Family/Weddings/Bob.jpg --- core/hooks/init_gallery.php | 1 + 1 file changed, 1 insertion(+) (limited to 'core/hooks') diff --git a/core/hooks/init_gallery.php b/core/hooks/init_gallery.php index c6a22319..27a4d8a4 100644 --- a/core/hooks/init_gallery.php +++ b/core/hooks/init_gallery.php @@ -20,3 +20,4 @@ Event::add("system.ready", array("I18n", "instance")); Event::add("system.post_routing", array("theme", "load_themes")); Event::add("system.ready", array("module", "load_modules")); +Event::add("system.post_routing", array("url", "parse_url")); -- cgit v1.2.3