summaryrefslogtreecommitdiffstats
path: root/admin/flag.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-25 19:20:47 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-25 19:20:47 -0500
commit0c66442b559a350527aa35155ec965a2901cafbc (patch)
tree338214a3abdf18d43f3df1e7a238eb49bc0fb0bc /admin/flag.php
parent9a83f50042925e0daa0aab1b44fcc8d39e79edf2 (diff)
downloadampache-0c66442b559a350527aa35155ec965a2901cafbc.tar.gz
ampache-0c66442b559a350527aa35155ec965a2901cafbc.tar.bz2
ampache-0c66442b559a350527aa35155ec965a2901cafbc.zip
require and require_once aren't functions
Since the parentheses are optional, we leave them off to remind ourselve that PHP be crazy, yo.
Diffstat (limited to 'admin/flag.php')
-rw-r--r--admin/flag.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/flag.php b/admin/flag.php
index ffbc6655..9cce736d 100644
--- a/admin/flag.php
+++ b/admin/flag.php
@@ -85,7 +85,7 @@ switch ($_REQUEST['action']) {
$album = new Album($_REQUEST['album_id']);
- require_once(conf('prefix') . '/templates/show_edit_album.inc.php');
+ require_once Config::get('prefix') . '/templates/show_edit_album.inc.php';
break;
// Update all songs from this album
@@ -128,7 +128,7 @@ switch ($_REQUEST['action']) {
$artist = new Artist($_REQUEST['artist_id']);
- require_once(conf('prefix') . '/templates/show_edit_artist.inc.php');
+ require_once Config::get('prefix') . '/templates/show_edit_artist.inc.php';
break;
// Update all songs by this artist
@@ -255,7 +255,7 @@ switch ($_REQUEST['action']) {
$song = new Song($_REQUEST['song']);
$song->fill_ext_info();
$song->format_song();
- require_once (conf('prefix') . '/templates/show_edit_song.inc.php');
+ require_once Config::get('prefix') . '/templates/show_edit_song.inc.php';
break;
case 'disable':
$song_obj = new Song();