require(sprintf("%sinc/loader/class_ClassLoader%s", PATH, $cfg->readConfig('php_extension')));
// Does the user has an application specified?
-if (!empty($_GET[$cfg->readConfig('app_selector_get')])) {
+if (!empty($_GET['app'])) {
// Set the application from string
- $application = (string) $_GET[$cfg->readConfig('app_selector_get')];
+ $application = (string) $_GET['app'];
} elseif (!empty($_SERVER['argv'][1])) {
// Set the application from string
$application = (string) $_SERVER['argv'][1];
$app = explode('=', trim($application));
- if ($app[0] == $cfg->readConfig('app_selector_get')) {
+ if ($app[0] == 'app') {
// Application is valid!
$application = trim($app[1]);
} else {