public function checkTryToSaveConfig()
    {
        $uri = Request::getInstance()->getRequestUri();
        $method = Request::getInstance()->getMethod();
        return (preg_match('/^\/admin\/(config|setup)$/', $uri) !== false && strtoupper($method) === 'POST');
    }
public function checkTryToSaveConfig()
    {
        $uri = Request::getInstance()->getRequestUri();
        $method = Request::getInstance()->getMethod();
        return (preg_match('/^\/admin\/(config|setup)$/', $uri) !== false && strtoupper($method) === 'POST');
    }
public function checkTryToSaveConfig ( ) { $ uri = Request :: getInstance ( ) -> getRequestUri ( ) ; $ method = Request :: getInstance ( ) -> getMethod ( ) ; return ( preg_match ( '/^\/admin\/(config|setup)$/' , $ uri ) !== false && strtoupper ( $ method ) === 'POST' ) ; }
Method that check if the user is trying to save the config
@return bool
Method that check if the user is trying to save the config