summaryrefslogtreecommitdiffstats
path: root/apps/gallery/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gallery/index.php')
-rw-r--r--apps/gallery/index.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/gallery/index.php b/apps/gallery/index.php
index c7eafc9a1c7..a891e2889f6 100644
--- a/apps/gallery/index.php
+++ b/apps/gallery/index.php
@@ -32,12 +32,12 @@ OCP\Util::addStyle('gallery', 'styles');
OCP\Util::addScript('gallery', 'pictures');
OCP\Util::addStyle( 'gallery', 'supersized' );
OCP\Util::addStyle( 'gallery', 'supersized.shutter' );
-OCP\Util::addscript('gallery', 'slideshow');
-OCP\Util::addscript('gallery', 'jquery.easing.min');
-OCP\Util::addscript('gallery', 'supersized.3.2.7.min');
-OCP\Util::addscript('gallery', 'supersized.shutter.min');
+OCP\Util::addScript('gallery', 'slideshow');
+OCP\Util::addScript('gallery', 'jquery.easing.min');
+OCP\Util::addScript('gallery', 'supersized.3.2.7.min');
+OCP\Util::addScript('gallery', 'supersized.shutter.min');
-include('gallery/lib/tiles.php');
+include 'gallery/lib/tiles.php';
$root = !empty($_GET['root']) ? $_GET['root'] : '/';
$images = \OC_FileCache::searchByMime('image', null, '/'.\OCP\USER::getUser().'/files'.$root);