diff --git a/app.php b/app.php index e3fa56c..1f3446a 100644 --- a/app.php +++ b/app.php @@ -169,9 +169,9 @@ class App * @param string $paramName * @return multi */ - public static function getConfig($paramName) + public static function getConfig($paramName, $defaultValue = NULL) { - return isset(self::$config[$paramName]) ? self::$config[$paramName] : NULL; + return isset(self::$config[$paramName]) ? self::$config[$paramName] : $defaultValue; } /** diff --git a/config_template.php b/config_template.php index 670250d..c7c7f73 100644 --- a/config_template.php +++ b/config_template.php @@ -19,5 +19,6 @@ return array( 'ganalytics' => true, 'disableSMS' => false, 'alarmerKey' => '02f559-a3c1f3-44d756', // key OR FALSE + 'protocol' => 'https', // https (default) || http ); diff --git a/views/modals/login.php b/views/modals/login.php index dc886ab..ef69e9c 100644 --- a/views/modals/login.php +++ b/views/modals/login.php @@ -13,7 +13,7 @@

Мы сохраняем только ваше имя, ник и аватарку, не запрашивая лишних данных. Приятных путешествий!

-
+