summaryrefslogtreecommitdiffstats
path: root/image.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-25 19:10:43 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-25 19:10:43 -0500
commit9a83f50042925e0daa0aab1b44fcc8d39e79edf2 (patch)
tree8b193b16a9da1d03b4f821d0c40f1135a9c3ad93 /image.php
parentd90a057aba60810640d95d135e08d802fda7a04f (diff)
downloadampache-9a83f50042925e0daa0aab1b44fcc8d39e79edf2.tar.gz
ampache-9a83f50042925e0daa0aab1b44fcc8d39e79edf2.tar.bz2
ampache-9a83f50042925e0daa0aab1b44fcc8d39e79edf2.zip
Consistently use require_once to load init.php
Diffstat (limited to 'image.php')
-rw-r--r--image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/image.php b/image.php
index 5397cfa3..4a1dcbed 100644
--- a/image.php
+++ b/image.php
@@ -30,7 +30,7 @@
// This file is a little weird it needs to allow API session
// this needs to be done a little better, but for now... eah
define('NO_SESSION','1');
-require 'lib/init.php';
+require_once 'lib/init.php';
// Check to see if they've got an interface session or a valid API session, if not GTFO
if (!vauth::session_exists('interface',$_COOKIE[Config::get('session_name')]) AND !vauth::session_exists('api',$_REQUEST['auth']) AND !vauth::session_exists('xml-rpc',$_REQUEST['auth'])) {