/** * Check the env for server variables * */ private function CheckEnv() { global $langmessage; //make sure $_SERVER['SCRIPT_NAME'] is set echo '<tr><td>'; echo '<a href="http://www.php.net/manual/reserved.variables.server.php" target="_blank">'; echo 'SCRIPT_NAME or PHP_SELF'; echo '</a>'; echo '</td>'; $checkValue = \gp\tool::GetEnv('SCRIPT_NAME', 'index.php') || \gp\tool::GetEnv('PHP_SELF', 'index.php'); $this->StatusRow($checkValue, $langmessage['Set'], $langmessage['Not_Set']); }