From d5dc929cca6a35725ff7af3446e2764e6c739d81 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 8 May 2017 20:33:29 +0200 Subject: [PATCH] renamed to parseParameters() as this method will parse, not just check all parameters, including $_GET, $_POST and $_COOKIE/$_SESSION MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- framework/bootstrap/class_FrameworkBootstrap.php | 4 ++-- index.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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(); } } -- 2.39.5