Skip to content

Commit e75fbfe

Browse files
markrandallderickr
authored andcommitted
Fix: Additional relative include changes
1 parent 2fac170 commit e75fbfe

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

include/manual-lookup.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// We need this for error reporting
44
use phpweb\ProjectGlobals;
55

6-
include_once __DIR__ . '/errors.inc';
6+
require_once __DIR__ . '/errors.inc';
77

88
// Try to find some variations of keyword with $prefix in the $lang manual
99
function tryprefix($lang, $keyword, $prefix)

public/manual-lookup.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

33
$_SERVER['BASE_PAGE'] = 'manual-lookup.php';
4-
include __DIR__ . '/include/prepend.inc';
5-
include __DIR__ . '/include/manual-lookup.inc';
4+
require_once __DIR__ . '/../include/prepend.inc';
5+
require_once __DIR__ . '/../include/manual-lookup.inc';
66

77
// BC code, so pattern and function can both be used as
88
// parameters to specify the function name

public/results.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
$_SERVER['BASE_PAGE'] = 'results.php';
4-
include __DIR__ . '/include/prepend.inc';
4+
include __DIR__ . '/../include/prepend.inc';
55

66
if (!empty($_GET['p']) && is_string($_GET['p'])) {
77
$show = htmlspecialchars($_GET['p'], ENT_QUOTES, 'UTF-8');

0 commit comments

Comments
 (0)