From: Roland Häder Date: Mon, 8 May 2017 18:33:29 +0000 (+0200) Subject: renamed to parseParameters() as this method will parse, not just check all X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=d5dc929cca6a35725ff7af3446e2764e6c739d81 renamed to parseParameters() as this method will parse, not just check all parameters, including $_GET, $_POST and $_COOKIE/$_SESSION Signed-off-by: Roland Häder --- diff --git a/framework/bootstrap/class_FrameworkBootstrap.php b/framework/bootstrap/class_FrameworkBootstrap.php index 7ee612bd..460c984d 100644 --- a/framework/bootstrap/class_FrameworkBootstrap.php +++ b/framework/bootstrap/class_FrameworkBootstrap.php @@ -52,7 +52,7 @@ final class FrameworkBootstrap { } /** - * Checks all parameters, like $_GET, $_POST, $_COOKIE and also "emulated" + * Parses all parameters, like $_GET, $_POST, $_COOKIE and also "emulated" * from command-line. Accepted CLI parameters are in following forms: * * --foo=bar - parameter 'foo' gets value "bar" (string) @@ -63,7 +63,7 @@ final class FrameworkBootstrap { * * app=tests - launches application 'tests' (parameter 'app' gets string value "tests") */ - public static function checkParameters () { + public static function parseParameters () { } } diff --git a/index.php b/index.php index c0671792..3cca6d52 100644 --- a/index.php +++ b/index.php @@ -261,10 +261,10 @@ final class ApplicationEntryPoint { require self::detectFrameworkPath() . 'bootstrap/bootstrap.inc.php'; /* - * Initial bootstrap is done, continue with checking parameters and + * Initial bootstrap is done, continue with parsing parameters and * look for 'app'. */ - FrameworkBootstrap::checkParameters(); + FrameworkBootstrap::parseParameters(); } }