summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/MY_url.php
AgeCommit message (Collapse)Author
2009-06-24Use ENT_QUOTEs when decoding the $current_uri otherwise apostrophesBharat Mediratta
are treated as ' which doesn't match in our relative_path_cache.
2009-06-09Removed extra whitespaceTim Almdal
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-06-09Create a new method in MY_url.php "get_item_from_uri" which loads the itemTim Almdal
based on the uri. Then use this helper method in logout.php to insure that the guest user has access to the "continue" uri. If they don't redirect to the root album and let it deal with access issues. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-06-04Work around a problem with the CGI sapi on urls that don't containBharat Mediratta
index.php (ie, /gallery3 instead of /gallery3/index.php) that causes is to mis-route.
2009-06-04Make sure the item is loaded in parse_url() before we use it.Bharat Mediratta
2009-05-29Use the relative_path_cache to look up items which should be a fasterBharat Mediratta
query than using the level + the components.
2009-05-27Convert a few more references of APPPATH to MODPATH/galleryBharat Mediratta
2009-05-27Restructure things so that the application is now just another module.Bharat Mediratta
Kohana makes this type of transition fairly straightforward in that all controllers/helpers/etc are still located in the cascading filesystem without any extra effort, except that I've temporarily added a hack to force modules/gallery into the module path. Rename what's left of "core" to be "application" so that it conforms more closely to the Kohana standard (basically, just application/config/config.php which is the minimal thing that you need in the application directory) There's still considerable work left to be done here.