diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-25 19:20:47 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-25 19:20:47 -0500 |
commit | 0c66442b559a350527aa35155ec965a2901cafbc (patch) | |
tree | 338214a3abdf18d43f3df1e7a238eb49bc0fb0bc /artists.php | |
parent | 9a83f50042925e0daa0aab1b44fcc8d39e79edf2 (diff) | |
download | ampache-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 'artists.php')
-rw-r--r-- | artists.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/artists.php b/artists.php index 8218964d..a47eb193 100644 --- a/artists.php +++ b/artists.php @@ -171,12 +171,12 @@ switch($_REQUEST['action']) { /* Else we've got an error! But be lenient, and just show the form again */ else { - require (conf('prefix') . '/templates/show_rename_artist.inc.php'); + require Config::get('prefix') . '/templates/show_rename_artist.inc.php'; } break; case 'show_rename': $artist = new Artist($_REQUEST['artist']); - require (conf('prefix') . '/templates/show_rename_artist.inc.php'); + require Config::get('prefix') . '/templates/show_rename_artist.inc.php'; break; case 'match': case 'Match': @@ -184,10 +184,10 @@ switch($_REQUEST['action']) { if ($match == "Browse" || $match == "Show_all") { $chr = ""; } else { $chr = $match; } /* Enclose this in the purty box! */ - require (conf('prefix') . '/templates/show_box_top.inc.php'); + require Config::get('prefix') . '/templates/show_box_top.inc.php'; show_alphabet_list('artists','artists.php',$match); show_alphabet_form($chr, T_('Show Artists starting with'),"artists.php?action=match"); - require (conf('prefix') . '/templates/show_box_bottom.inc.php'); + require Config::get('prefix') . '/templates/show_box_bottom.inc.php'; if ($match === "Browse") { show_artists(); |