Revert to require_once

Keeping these statements as they were.
This commit is contained in:
Adam Magness 2017-11-09 12:26:32 -05:00
parent 1565061454
commit bc65cc2af1
2 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@ function profile_load(App $a, $nickname, $profile = 0, $profiledata = array())
$theme_info_file = "view/theme/" . current_theme() . "/theme.php";
if (file_exists($theme_info_file)) {
include_once $theme_info_file;
require_once $theme_info_file;
}
if (! (x($a->page, 'aside'))) {
@ -579,7 +579,7 @@ function get_birthdays()
function get_events()
{
include_once 'include/bbcode.php';
require_once 'include/bbcode.php';
$a = get_app();

View File

@ -68,7 +68,7 @@ function queue_run(&$argv, &$argc)
// delivering
include_once 'include/salmon.php';
require_once 'include/salmon.php';
$r = q(
"SELECT * FROM `queue` WHERE `id` = %d LIMIT 1",