diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-11-19 04:13:20 +0400 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-11-19 04:19:11 +0400 |
commit | a18208994d3d1eb7366fbc1111d02807e9efa7a7 (patch) | |
tree | dc8ed6a5c02e4cfc893a577702ec340d5ecb9419 /apptemplate | |
parent | 9139c8ab99677ed0d10be67096a60d4948a87b6a (diff) |
small improvements
Diffstat (limited to 'apptemplate')
-rw-r--r-- | apptemplate/appinfo/app.php | 2 | ||||
-rw-r--r-- | apptemplate/appinfo/bootstrap.php | 1 | ||||
-rw-r--r-- | apptemplate/appinfo/routes.php | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/apptemplate/appinfo/app.php b/apptemplate/appinfo/app.php index 3e37d49fc..83c94a6f0 100644 --- a/apptemplate/appinfo/app.php +++ b/apptemplate/appinfo/app.php @@ -5,6 +5,8 @@ * * @author Frank Karlitschek * @author Florian Hülsmann +* @author Bernhard Posselt +* @copyright 2012 Bernhard Posselt nukeawhale@gmail.com * @copyright 2011 Frank Karlitschek karlitschek@kde.org * @copyright 2012 Florian Hülsmann fh@cbix.de * diff --git a/apptemplate/appinfo/bootstrap.php b/apptemplate/appinfo/bootstrap.php index fb9305932..0e3f26c19 100644 --- a/apptemplate/appinfo/bootstrap.php +++ b/apptemplate/appinfo/bootstrap.php @@ -37,6 +37,7 @@ DEFINE('APP_NAME', 'apptemplate'); \OC::$CLASSPATH['OCA\AppTemplate\Request'] = 'apps/apptemplate/lib/request.php'; \OC::$CLASSPATH['OCA\AppTemplate\Security'] = 'apps/apptemplate/lib/security.php'; \OC::$CLASSPATH['OCA\AppTemplate\Controller'] = 'apps/apptemplate/lib/controller.php'; + \OC::$CLASSPATH['OCA\AppTemplate\IndexController'] = 'apps/apptemplate/controllers/index.controller.php'; \OC::$CLASSPATH['OCA\AppTemplate\SettingsController'] = 'apps/apptemplate/controllers/settings.controller.php'; \OC::$CLASSPATH['OCA\AppTemplate\AjaxController'] = 'apps/apptemplate/controllers/ajax.controller.php'; diff --git a/apptemplate/appinfo/routes.php b/apptemplate/appinfo/routes.php index 5da6dacbe..12407db97 100644 --- a/apptemplate/appinfo/routes.php +++ b/apptemplate/appinfo/routes.php @@ -33,6 +33,7 @@ require_once \OC_App::getAppPath('apptemplate') . '/appinfo/bootstrap.php'; * @param string $methodName: the method that you want to call * @param array $urlParams: an array with variables extracted from the routes * @param bool $disableCSRF: disables the csrf check, defaults to false + * @param bool $disableAdminCheck: disables the check for adminuser rights */ function callController($controllerName, $methodName, $urlParams, $disableCSRF=false, $disableAdminCheck=true){ |