Commit Graph

8 Commits

Author SHA1 Message Date
Bharat Mediratta
7347d1e50d Use ENT_QUOTEs when decoding the $current_uri otherwise apostrophes
are treated as ' which doesn't match in our relative_path_cache.
2009-06-24 21:34:07 -07:00
Tim Almdal
8189c1fc6b Removed extra whitespace
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-06-09 21:45:57 +08:00
Tim Almdal
f0ea6d532c Create a new method in MY_url.php "get_item_from_uri" which loads the item
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-09 21:45:43 +08:00
Bharat Mediratta
12ef4272ae Work around a problem with the CGI sapi on urls that don't contain
index.php (ie, /gallery3 instead of /gallery3/index.php) that causes
is to mis-route.
2009-06-04 18:40:38 -07:00
Bharat Mediratta
e5a0104769 Make sure the item is loaded in parse_url() before we use it. 2009-06-04 18:19:49 -07:00
Bharat Mediratta
ce285b8feb Use the relative_path_cache to look up items which should be a faster
query than using the level + the components.
2009-05-29 21:23:08 -07:00
Bharat Mediratta
5e7cc75a29 Convert a few more references of APPPATH to MODPATH/gallery 2009-05-27 16:29:33 -07:00
Bharat Mediratta
28b41056e3 Restructure things so that the application is now just another module.
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.
2009-05-27 15:07:27 -07:00