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');

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to