diff options
author | Brice Maron <brice@bmaron.net> | 2012-06-06 19:54:57 +0000 |
---|---|---|
committer | Brice Maron <brice@bmaron.net> | 2012-06-06 20:24:16 +0000 |
commit | 5c2b2fc8425e7fa52945b53058ac67f67d228409 (patch) | |
tree | d7f6e5462d40e46920f81cd86e28b12cb671abc5 /core/templates | |
parent | 6a812644e4d0f6eed8dca4e20c6f7135d881012a (diff) | |
download | nextcloud-server-5c2b2fc8425e7fa52945b53058ac67f67d228409.tar.gz nextcloud-server-5c2b2fc8425e7fa52945b53058ac67f67d228409.zip |
Change app path logic in templates
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/layout.guest.php | 2 | ||||
-rw-r--r-- | core/templates/layout.user.php | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index 7f5a4d50fc6..7a968917718 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -12,7 +12,7 @@ <?php endforeach; ?> <script type="text/javascript"> var oc_webroot = '<?php echo OC::$WEBROOT; ?>'; - var oc_appswebroot = '<?php echo OC::$APPSWEBROOT; ?>'; + var oc_appswebroots = <?php echo $_['apps_paths'] ?>; </script> <?php if (!defined('DEBUG') || !DEBUG): ?> <script type="text/javascript" src="<?php echo OC_Helper::linkToRemote('core.js', false) ?>"></script> diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 5f00a884a04..91cfa1a87a1 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -12,8 +12,7 @@ <?php endforeach; ?> <script type="text/javascript"> var oc_webroot = '<?php echo OC::$WEBROOT; ?>'; - var oc_appswebroot = '<?php //echo OC::$APPSWEBROOT; ?>'; - // TODO: PATH + var oc_appswebroots = <?php echo $_['apps_paths'] ?>; var oc_current_user = '<?php echo OC_User::getUser() ?>'; </script> <?php if (!defined('DEBUG') || !DEBUG): ?> |