[web-php] master: Remove parentheses around include (#546)
| From: | Mathias Reker ⚡️ via GitHub | Date: | Tue, 05 Jul 2022 14:01:15 +0000 |
| Subject: | [web-php] master: Remove parentheses around include (#546) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-30267@lists.php.net to get a copy of this message | ||
Author: Mathias Reker ⚡️ (MathiasReker)
Committer: GitHub (web-flow)
Pusher: kamil-tekiela
Date: 2022-07-05T14:55:01+01:00
Commit: https://github.com/php/web-php/commit/9f0ae5131cef90f853f14fed6d3c8fe58f05a6ec
Raw diff: https://github.com/php/web-php/commit/9f0ae5131cef90f853f14fed6d3c8fe58f05a6ec.diff
Remove parentheses around include (#546)
Changed paths:
M releases/8.0/index.php
M releases/8.1/index.php
Diff:
diff --git a/releases/8.0/index.php b/releases/8.0/index.php
index 9309e102c8..08a72b721c 100644
--- a/releases/8.0/index.php
+++ b/releases/8.0/index.php
@@ -1,5 +1,5 @@
<?php
$_SERVER['BASE_PAGE'] = 'releases/8.0/index.php';
-include(__DIR__ . '/../../include/site.inc');
+include __DIR__ . '/../../include/site.inc';
mirror_redirect('/releases/8.0/en.php');
diff --git a/releases/8.1/index.php b/releases/8.1/index.php
index f7c7549fab..90736f5349 100644
--- a/releases/8.1/index.php
+++ b/releases/8.1/index.php
@@ -1,5 +1,5 @@
<?php
$_SERVER['BASE_PAGE'] = 'releases/8.1/index.php';
-include(__DIR__ . '/../../include/site.inc');
+include __DIR__ . '/../../include/site.inc';
mirror_redirect('/releases/8.1/en.php');