@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Replace some Phabricator references in PhabricatorStartup.php on comments and errors

Summary: There are still some Phabricator references in `phorge\support\startup\PhabricatorStartup.php` in both comments and warning/error messages.

Test Plan: No test plan as this is nothing more than changing in-line comments (zero impact) and some warning and error messages.

Reviewers: O1 Blessed Committers, avivey

Reviewed By: O1 Blessed Committers, avivey

Subscribers: tobiaswiese, valerio.bozzolan, Matthew

Maniphest Tasks: T15006

Differential Revision: https://we.phorge.it/D25857

+9 -9
+9 -9
support/startup/PhabricatorStartup.php
··· 3 3 /** 4 4 * Handle request startup, before loading the environment or libraries. This 5 5 * class bootstraps the request state up to the point where we can enter 6 - * Phabricator code. 6 + * Phorge code. 7 7 * 8 8 * NOTE: This class MUST NOT have any dependencies. It runs before libraries 9 9 * load. ··· 11 11 * Rate Limiting 12 12 * ============= 13 13 * 14 - * Phabricator limits the rate at which clients can request pages, and issues 15 - * HTTP 429 "Too Many Requests" responses if clients request too many pages too 14 + * Phorge limits the rate at which clients can request pages, and issues HTTP 15 + * 429" Too Many Requests" responses if clients request too many pages too 16 16 * quickly. Although this is not a complete defense against high-volume attacks, 17 17 * it can protect an install against aggressive crawlers, security scanners, 18 18 * and some types of malicious activity. ··· 213 213 '"phorge/" on disk.'); 214 214 } 215 215 216 - // Load Phabricator itself using the absolute path, so we never end up doing 216 + // Load Phorge itself using the absolute path, so we never end up doing 217 217 // anything surprising (loading index.php and libraries from different 218 218 // directories). 219 219 phutil_load_library($phabricator_root.'/src'); ··· 552 552 'This feature is "highly discouraged" by PHP\'s developers, and '. 553 553 'has been removed entirely in PHP8.'. 554 554 "\n\n". 555 - 'You must disable "magic_quotes_gpc" to run Phabricator. Consult '. 556 - 'the PHP manual for instructions.'); 555 + 'You must disable "magic_quotes_gpc" to run Phorge. Consult the '. 556 + 'PHP manual for instructions.'); 557 557 } 558 558 } 559 559 ··· 567 567 if (isset($known_bad[$apc_version])) { 568 568 self::didFatal( 569 569 "You have APC {$apc_version} installed. This version of APC is ". 570 - "known to be bad, and does not work with Phabricator (it will ". 571 - "cause Phabricator to fatal unrecoverably with nonsense errors). ". 570 + "known to be bad, and does not work with Phorge (it will cause ". 571 + "Phorge to fatal unrecoverably with nonsense errors).". 572 572 "Downgrade to version 3.1.13."); 573 573 } 574 574 } ··· 634 634 'Request attempted to access request path, but no request path is '. 635 635 'available for this request. You may be calling web request code '. 636 636 'from a non-request context, or your webserver may not be passing '. 637 - 'a request path to Phabricator in a format that it understands.'); 637 + 'a request path to Phorge in a format that it understands.'); 638 638 } 639 639 640 640 return $path;