diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-25 19:36:19 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-25 19:36:19 -0500 |
commit | 7ea41a0029c903f807ce0ce3b7536bb60ac81a19 (patch) | |
tree | 6e3091e92d077aba2185af553289f4002122f093 | |
parent | 8808fdf10d9e7fdab04b512b3d9f7d4f24ed4449 (diff) | |
download | ampache-7ea41a0029c903f807ce0ce3b7536bb60ac81a19.tar.gz ampache-7ea41a0029c903f807ce0ce3b7536bb60ac81a19.tar.bz2 ampache-7ea41a0029c903f807ce0ce3b7536bb60ac81a19.zip |
include -> require_once
Say what we mean.
-rw-r--r-- | register.php | 2 | ||||
-rw-r--r-- | templates/show_login_form.inc.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/register.php b/register.php index ca74158a..1d20a4f5 100644 --- a/register.php +++ b/register.php @@ -40,7 +40,7 @@ require_once Config::get('prefix') . '/modules/validatemail/validateEmail.php'; /* Don't even include it if we aren't going to use it */ if (Config::get('captcha_public_reg')) { define ("CAPTCHA_INVERSE", 1); - include Config::get('prefix') . '/modules/captcha/captcha.php'; + require_once Config::get('prefix') . '/modules/captcha/captcha.php'; } diff --git a/templates/show_login_form.inc.php b/templates/show_login_form.inc.php index a92520ce..ac6ed2b0 100644 --- a/templates/show_login_form.inc.php +++ b/templates/show_login_form.inc.php @@ -90,7 +90,7 @@ if (@is_readable(Config::get('prefix') . '/config/motd.php')) { <div id="motd"> <?php show_box_top(T_('Message of the Day')); - include Config::get('prefix') . '/config/motd.php'; + require_once Config::get('prefix') . '/config/motd.php'; show_box_bottom(); ?> <?php |