diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-25 19:10:43 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-25 19:10:43 -0500 |
commit | 9a83f50042925e0daa0aab1b44fcc8d39e79edf2 (patch) | |
tree | 8b193b16a9da1d03b4f821d0c40f1135a9c3ad93 /image.php | |
parent | d90a057aba60810640d95d135e08d802fda7a04f (diff) | |
download | ampache-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.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'])) { |