summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBartek Przybylski <bart.p.pl@gmail.com>2011-10-02 12:24:02 +0200
committerBartek Przybylski <bart.p.pl@gmail.com>2011-10-02 12:24:02 +0200
commit07b3b103ce866f04b88a87aa325fe57ae4d0545c (patch)
tree62866cb5f05c512f3289271d2b9b972e95afcf25 /apps
parent339d417420ae139d586e3409dc3b03bb65df48fa (diff)
downloadnextcloud-server-07b3b103ce866f04b88a87aa325fe57ae4d0545c.tar.gz
nextcloud-server-07b3b103ce866f04b88a87aa325fe57ae4d0545c.zip
changing <? to <?php
Diffstat (limited to 'apps')
-rw-r--r--apps/gallery/ajax/cover.php2
-rw-r--r--apps/gallery/ajax/createAlbum.php2
-rw-r--r--apps/gallery/ajax/getAlbums.php2
-rw-r--r--apps/gallery/ajax/getCovers.php2
-rw-r--r--apps/gallery/ajax/scanForAlbums.php2
-rw-r--r--apps/gallery/ajax/thumbnail.php2
-rw-r--r--apps/gallery/appinfo/app.php2
-rw-r--r--apps/gallery/index.php2
-rw-r--r--apps/gallery/lib_scanner.php2
9 files changed, 9 insertions, 9 deletions
diff --git a/apps/gallery/ajax/cover.php b/apps/gallery/ajax/cover.php
index 33d913c60ac..375905ec520 100644
--- a/apps/gallery/ajax/cover.php
+++ b/apps/gallery/ajax/cover.php
@@ -1,4 +1,4 @@
-<?
+<?php
require_once('../../../lib/base.php');
function CroppedThumbnail($imgSrc,$thumbnail_width,$thumbnail_height) { //$imgSrc is a FILE - Returns an image resource.
diff --git a/apps/gallery/ajax/createAlbum.php b/apps/gallery/ajax/createAlbum.php
index 93e3312d324..3a490bdc3bd 100644
--- a/apps/gallery/ajax/createAlbum.php
+++ b/apps/gallery/ajax/createAlbum.php
@@ -1,4 +1,4 @@
-<?
+<?php
require_once('../../../lib/base.php');
if( !OC_User::isLoggedIn()){
diff --git a/apps/gallery/ajax/getAlbums.php b/apps/gallery/ajax/getAlbums.php
index 3fc1b7467e8..6b551ac49d5 100644
--- a/apps/gallery/ajax/getAlbums.php
+++ b/apps/gallery/ajax/getAlbums.php
@@ -1,4 +1,4 @@
-<?
+<?php
require_once('../../../lib/base.php');
if (!OC_User::IsLoggedIn()) {
diff --git a/apps/gallery/ajax/getCovers.php b/apps/gallery/ajax/getCovers.php
index d649edaf140..d56bf6fa4b7 100644
--- a/apps/gallery/ajax/getCovers.php
+++ b/apps/gallery/ajax/getCovers.php
@@ -1,4 +1,4 @@
-<?
+<?php
require_once('../../../lib/base.php');
function CroppedThumbnail($imgSrc,$thumbnail_width,$thumbnail_height, $tgtImg, $shift) {
diff --git a/apps/gallery/ajax/scanForAlbums.php b/apps/gallery/ajax/scanForAlbums.php
index 64832a113b6..a04ad62b1bf 100644
--- a/apps/gallery/ajax/scanForAlbums.php
+++ b/apps/gallery/ajax/scanForAlbums.php
@@ -1,4 +1,4 @@
-<?
+<?php
require_once('../../../lib/base.php');
require_once('../lib_scanner.php');
diff --git a/apps/gallery/ajax/thumbnail.php b/apps/gallery/ajax/thumbnail.php
index b3501ab4af4..db428eeff34 100644
--- a/apps/gallery/ajax/thumbnail.php
+++ b/apps/gallery/ajax/thumbnail.php
@@ -1,4 +1,4 @@
-<?
+<?php
require_once('../../../lib/base.php');
function CroppedThumbnail($imgSrc,$thumbnail_width,$thumbnail_height) { //$imgSrc is a FILE - Returns an image resource.
diff --git a/apps/gallery/appinfo/app.php b/apps/gallery/appinfo/app.php
index 2c72c29218e..2d5d2ce2154 100644
--- a/apps/gallery/appinfo/app.php
+++ b/apps/gallery/appinfo/app.php
@@ -1,4 +1,4 @@
-<?
+<?php
OC_App::register(array(
'order' => 20,
'id' => 'gallery',
diff --git a/apps/gallery/index.php b/apps/gallery/index.php
index 29ec30b5b6e..c8d5892e555 100644
--- a/apps/gallery/index.php
+++ b/apps/gallery/index.php
@@ -1,4 +1,4 @@
-<?
+<?php
require_once('../../lib/base.php');
OC_Util::checkLoggedIn();
diff --git a/apps/gallery/lib_scanner.php b/apps/gallery/lib_scanner.php
index 5d88a08158a..e9a022c606b 100644
--- a/apps/gallery/lib_scanner.php
+++ b/apps/gallery/lib_scanner.php
@@ -1,4 +1,4 @@
-<?
+<?php
require_once('base.php'); // base lib