Example #1
0
 public static function action()
 {
     $config = (include __DIR__ . '/../config/web_config.php');
     if ($config['PrettyUrl']) {
         return ucfirst(Request::chpuQuery()[1]);
     } else {
         return isset($_GET['a']) ? ucfirst($_GET['a']) : false;
     }
 }