Phase 3: Update remaining code references (classes, constants, functions)

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-09-08 15:53:33 +00:00
parent 4b771d498f
commit d692485a08
188 changed files with 338 additions and 338 deletions

View file

@ -4,7 +4,7 @@
*/
// Globals
$OGPLangPre = "OGP_LANG_";
$GSPLangPre = "GSP_LANG_";
// Ignore any request with unwanted values at 'm' or 'p'
if( isset($_REQUEST['m']) and !preg_match("/^([a-z]|[0-9]|_|-)+$/i", $_REQUEST['m']) )
@ -457,12 +457,12 @@ function getGitHubOrganization($gitHubURL){
}
function getOGPLangConstantsJSON(){
global $OGPLangPre;
global $GSPLangPre;
$finalConsts = array();
$consts = get_defined_constants(true);
foreach($consts["user"] as $key => $value){
if(startsWith($key, $OGPLangPre)){
if(startsWith($key, $GSPLangPre)){
$finalConsts[$key] = $value;
}
}