Implement #015359: access.php - new MatchOrder=host_uri
authorAndré Rømcke <ar@ez.no>
Mon, 12 Jul 2010 10:14:48 +0000 (12:14 +0200)
committerAndré Rømcke <ar@ez.no>
Mon, 12 Jul 2010 19:46:06 +0000 (21:46 +0200)
commit14d1204655ec105ca5eaf895e0e7a17660a29236
treeb3e10ed25a4bf8ab3c65c8b884f57bd0389aa77d
parenteb1e2aa13f9260c7a984652e3b4fe0f238d06de6
Implement #015359: access.php - new MatchOrder=host_uri

This is a cleanup of access.php as prerun to add support for host_uri
matching. Most importantly start to use a uri_part array on $GLOBALS['eZCurrentAccess']
to identify that some part of uri was used as part of site access
matching instead of hardcoded EZ_ACCESS_TYPE_URI checks + scope ezSys->AccessPath
since it is also used for layout/set/<layout>.
20 files changed:
access.php
index.php
index_treemenu.php
kernel/classes/ezcontentcachemanager.php
kernel/classes/eznodeviewfunctions.php
kernel/classes/ezscript.php
kernel/classes/ezsiteaccess.php
kernel/classes/webdav/ezwebdavcontentserver.php
kernel/common/ezmoduleoperator.php
kernel/content/versionview.php
kernel/layout/set.php
kernel/private/classes/ezplanguageswitcher.php
kernel/private/classes/webdav/ezwebdavcontentbackend.php
lib/ezutils/classes/ezmodule.php
lib/ezutils/classes/ezsys.php
pre_check.php
soap.php
tests/tests/kernel/private/webdav/backend_content_regression_test.php
tests/tests/lib/ezutils/ezsys_test.php
webdav.php