[web-php] preview: Update path in template in createReleaseEntry
| From: | Mark Randall via Derick Rethans | Date: | Thu, 18 Jun 2026 12:15:57 +0000 |
| Subject: | [web-php] preview: Update path in template in createReleaseEntry | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-33781@lists.php.net to get a copy of this message | ||
Author: Mark Randall
Committer: Derick Rethans (derickr)
Date: 2026-06-18T13:15:38+01:00
Commit: https://github.com/php/web-php/commit/27c64c50648f6d1f27463cd10618f0355940166b
Raw diff: https://github.com/php/web-php/commit/27c64c50648f6d1f27463cd10618f0355940166b.diff
Update path in template in createReleaseEntry
Changed paths:
M bin/createReleaseEntry
Diff:
diff --git a/bin/createReleaseEntry b/bin/createReleaseEntry
index a9dcf1e658..ca51982fe6 100755
--- a/bin/createReleaseEntry
+++ b/bin/createReleaseEntry
@@ -57,7 +57,7 @@ if (isset($opts['r'])) {
$release = strtr($version, '.', '_') . '.php';
file_put_contents(RELEASES_ABS . $release, "<?php
\$_SERVER['BASE_PAGE'] = 'releases/$release';
-include_once __DIR__ . '/../include/prepend.inc';
+require_once __DIR__ . '/../../include/prepend.inc';
site_header('PHP $version Release Announcement');
?>
<h1>PHP $version Release Announcement</h1>