From 07b3b103ce866f04b88a87aa325fe57ae4d0545c Mon Sep 17 00:00:00 2001 From: Bartek Przybylski <bart.p.pl@gmail.com> Date: Sun, 2 Oct 2011 12:24:02 +0200 Subject: [PATCH] changing <? to <?php --- apps/gallery/ajax/cover.php | 2 +- apps/gallery/ajax/createAlbum.php | 2 +- apps/gallery/ajax/getAlbums.php | 2 +- apps/gallery/ajax/getCovers.php | 2 +- apps/gallery/ajax/scanForAlbums.php | 2 +- apps/gallery/ajax/thumbnail.php | 2 +- apps/gallery/appinfo/app.php | 2 +- apps/gallery/index.php | 2 +- apps/gallery/lib_scanner.php | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/gallery/ajax/cover.php b/apps/gallery/ajax/cover.php index 33d913c60a..375905ec52 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 93e3312d32..3a490bdc3b 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 3fc1b7467e..6b551ac49d 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 d649edaf14..d56bf6fa4b 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 64832a113b..a04ad62b1b 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 b3501ab4af..db428eeff3 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 2c72c29218..2d5d2ce215 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 29ec30b5b6..c8d5892e55 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 5d88a08158..e9a022c606 100644 --- a/apps/gallery/lib_scanner.php +++ b/apps/gallery/lib_scanner.php @@ -1,4 +1,4 @@ -<? +<?php require_once('base.php'); // base lib -- GitLab