Browse Source

Revert to require_once

Keeping these statements as they were.
pull/3890/head
Adam Magness 5 years ago
parent
commit
bc65cc2af1
  1. 4
      include/identity.php
  2. 2
      include/queue.php

4
include/identity.php

@ -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();

2
include/queue.php

@ -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",

Loading…
Cancel
Save