Author: Mark Randall (markrandall)
Committer: Derick Rethans (derickr)
Date: 2026-07-07T17:52:25+01:00

Commit: 
https://github.com/php/web-php/commit/9713ec6c30b726a7abea5c072f8877c763726539
Raw diff: 
https://github.com/php/web-php/commit/9713ec6c30b726a7abea5c072f8877c763726539.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>

Reply via email to