summaryrefslogtreecommitdiffstats
path: root/lib/template/jsresourcelocator.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/template/jsresourcelocator.php')
-rw-r--r--lib/template/jsresourcelocator.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/template/jsresourcelocator.php b/lib/template/jsresourcelocator.php
index a1382edf2d5..f8fe3817ce6 100644
--- a/lib/template/jsresourcelocator.php
+++ b/lib/template/jsresourcelocator.php
@@ -28,10 +28,10 @@ class JSResourceLocator extends ResourceLocator {
}
$app = substr($script, 0, strpos($script, '/'));
$script = substr($script, strpos($script, '/')+1);
- $app_path = OC_App::getAppPath($app);
- $app_url = OC_App::getAppWebPath($app);
+ $app_path = \OC_App::getAppPath($app);
+ $app_url = \OC_App::getAppWebPath($app);
if ($this->appendIfExist($app_path, $script.$this->form_factor.'.js', $app_url)
- || $this->appendIfExist($app_path, $script.'.js', $ap_url)
+ || $this->appendIfExist($app_path, $script.'.js', $app_url)
) {
return;
}