Open oitsuki opened 6 years ago
@oitsuki
$ini declared in site_conf.php and included before.
Ok, I understand but inside the function / class is not declared
$ini "protected and static". Global variables never be protected and never be static. PHP use defined constant for it. Here we use class "style". (variable scope)
protected static $cfg = [];
http://php.net/manual/en/language.variables.scope.php
If is not set $ini means that not has configured yet. Probably not installed apps or somehing else.
OSCOM.php $ini no define inside function