cli utilities - argc and argv reversed. Not functionally incorrect since it was consistent but aesthetically incorrect.

This commit is contained in:
redmatrix
2016-05-17 19:49:21 -07:00
parent 9a64c6b9f7
commit 43c2b22fca
18 changed files with 35 additions and 38 deletions

View File

@@ -5,7 +5,7 @@ namespace Zotlabs\Project;
class System {
static public function get_platform_name() {
if(is_array(\App::$config) && is_array(\App::$config['system']) && \App::$config['system']['platform_name'])
if(is_array(\App::$config) && is_array(\App::$config['system']) && array_key_exists('platform_name',\App::$config['system']))
return \App::$config['system']['platform_name'];
return PLATFORM_NAME;
}