Author: Andreas Möller (localheinz)
Committer: GitHub (web-flow)
Pusher: sy-records
Date: 2026-10-23T16:05:11+08:00
Commit: Fix require branches.inc from project root (#2035) · php/web-php@1879708 · GitHub
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');