Skip to content
This repository was archived by the owner on Jan 1, 2020. It is now read-only.

Commit 838b606

Browse files
author
ulistaerk
committed
Change includes to require
1 parent 72053c9 commit 838b606

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
ob_implicit_flush(0);
1212

1313
// ----------------- MAGIC QUOTES CHECK
14-
include './redaxo/include/functions/function_rex_mquotes.inc.php';
14+
require_once './redaxo/include/functions/function_rex_mquotes.inc.php';
1515

1616
// --------------------------- ini settings
1717

@@ -38,10 +38,10 @@
3838

3939
// setzte pfad und includiere klassen und funktionen
4040
$REX['HTDOCS_PATH'] = './';
41-
include './redaxo/include/master.inc.php';
41+
require_once './redaxo/include/master.inc.php';
4242

4343
// ----- INCLUDE ADDONS
44-
include_once $REX['INCLUDE_PATH'] . '/addons.inc.php';
44+
require_once $REX['INCLUDE_PATH'] . '/addons.inc.php';
4545

4646
if ($REX['SETUP']) {
4747
header('Location:redaxo/');

0 commit comments

Comments
 (0)