Edit via SFTP
<?php declare(strict_types=1); namespace greenmine;
/*
 PROJECT: Greenmine
 PURPOSE: main page -- handles all requests
 HISTORY:
  2020-11-08 significant rearranging of file organization
  2021-01-25 Removed line after creating app object:
    "$oApp->SetBasePath('/');" is no longer supported
      because we set the base path in the Globals.
*/
$fErrLevel = E_ALL;
error_reporting($fErrLevel);
if (!ini_get('display_errors')) {
    ini_set('display_errors', 'TRUE');
}
 
// CONSTANTS
// -- KF = boolean flag
// -- KS = string
// -- KWP = web path (URL including protocol)
// -- KFP = file path
// -- KRP = relative path
 
 
$kfpHome = dirname($_SERVER['SCRIPT_FILENAME'],2);
require($kfpHome.'/site/git/greenmine/start.php');	// Greenmine start-file
new globals\cLocal($kfpHome);
 
$oApp = new cApp();
$oApp->Go();