[web-php] master: Fix require branches.inc from project root (#2035)
| From: | Andreas Möller via GitHub | Date: | Fri, 23 Oct 2026 08:05:14 +0000 |
| Subject: | [web-php] master: Fix require branches.inc from project root (#2035) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-34139@lists.php.net to get a copy of this message | ||
Author: Andreas Möller (localheinz)
Committer: GitHub (web-flow)
Pusher: sy-records
Date: 2026-10-23T16:05:11+08:00
Commit: https://github.com/php/web-php/commit/1879708d3e255694ccf2f9710790dda9f531bfee
Raw diff: https://github.com/php/web-php/commit/1879708d3e255694ccf2f9710790dda9f531bfee.diff
Fix require branches.inc from project root (#2035)
Changed paths:
M public/releases/states.php
Diff:
diff --git a/public/releases/states.php b/public/releases/states.php
index 429214563c..b3422deb1a 100644
--- a/public/releases/states.php
+++ b/public/releases/states.php
@@ -8,7 +8,7 @@
$_SERVER['BASE_PAGE'] = 'releases/active.php';
require_once __DIR__ . '/../../include/prepend.inc';
-require_once ProjectGlobals::getPublicRoot() . '/include/branches.inc';
+require_once ProjectGlobals::getProjectRoot() . '/include/branches.inc';
header('Content-Type: application/json; charset=UTF-8');