diff options
author | matthieu_ <matthieu_@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2007-08-22 22:14:37 +0400 |
---|---|---|
committer | matthieu_ <matthieu_@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2007-08-22 22:14:37 +0400 |
commit | c0a8e54d4c257a85b8479d7c45fab0a121b95e8c (patch) | |
tree | 558c23cf9b11172643773ddbe51cc7a32af5a315 /modules/Access.php | |
parent | 7765dfe0c8e71eabaa079b3d94eaf800bda88390 (diff) |
-wrote some renderers: php, xml
-wrote the API request class to handle the GET request to get data from the API provided by the plugins
-organized the files into new directories
Diffstat (limited to 'modules/Access.php')
-rwxr-xr-x | modules/Access.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/Access.php b/modules/Access.php index 830877f454..6de0673257 100755 --- a/modules/Access.php +++ b/modules/Access.php @@ -1,5 +1,5 @@ <?php -Zend_Loader::loadClass('Piwik_SitesManager'); +require_once 'SitesManager.php'; class Piwik_Access { private $acl = null; @@ -37,7 +37,7 @@ class Piwik_Access if($result->getCode() == Piwik_Auth::SUCCESS_SUPERUSER_AUTH_CODE) { $this->isSuperUser = true; - $sitesId = Piwik_SitesManager::getAllSitesId(); + $sitesId = Piwik_SitesManager_API::getAllSitesId(); foreach($sitesId as $idSite) { $accessByIdsite[$idSite] = 'superuser'; |