[PHP-WEBMASTER] [web-php] master: Merge pull request #1987 from svpernova09/fix-archive-path

[email protected] (Joe Ferguson via GitHub)
Newsgroups php.webmaster
Message-ID <[email protected]>
Author: Joe Ferguson (svpernova09)
Committer: GitHub (web-flow)
Pusher: svpernova09
Date: 2026-08-13T12:22:38-05:00

Commit: https://github.com/php/web-php/commit/e41194ca90f02b9f647dbf1a7d4d1f1dc7675141
Raw diff: https://github.com/php/web-php/commit/e41194ca90f02b9f647dbf1a7d4d1f1dc7675141.diff

Merge pull request #1987 from svpernova09/fix-archive-path

Update path constants to public folder

Changed paths:
  M  src/News/Entry.php


Diff:

diff --git a/src/News/Entry.php b/src/News/Entry.php
index 00b82ebfd8..552aed883d 100755
--- a/src/News/Entry.php
+++ b/src/News/Entry.php
@@ -15,15 +15,15 @@ class Entry
 
     public const PHPWEB = __DIR__ . '/../../';
 
-    public const ARCHIVE_FILE_REL = 'archive/archive.xml';
+    public const ARCHIVE_FILE_REL = 'public/archive/archive.xml';
 
     public const ARCHIVE_FILE_ABS = self::PHPWEB . self::ARCHIVE_FILE_REL;
 
-    public const ARCHIVE_ENTRIES_REL = 'archive/entries/';
+    public const ARCHIVE_ENTRIES_REL = 'public/archive/entries/';
 
     public const ARCHIVE_ENTRIES_ABS = self::PHPWEB . self::ARCHIVE_ENTRIES_REL;
 
-    public const IMAGE_PATH_REL = 'images/news/';
+    public const IMAGE_PATH_REL = 'public/images/news/';
 
     public const IMAGE_PATH_ABS = self::PHPWEB . self::IMAGE_PATH_REL;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.