1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-16 00:38:38 +01:00

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
This commit is contained in:
Cigaryno 2024-12-20 15:56:08 +01:00
parent 0bd8388684
commit 6b6c3c84d1

View file

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