{"action":"opened","issue":{"url":"https://api.github.com/repos/Kissaki/MumPI/issues/49","labels_url":"https://api.github.com/repos/Kissaki/MumPI/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/Kissaki/MumPI/issues/49/comments","events_url":"https://api.github.com/repos/Kissaki/MumPI/issues/49/events","html_url":"https://github.com/Kissaki/MumPI/issues/49","id":82865494,"number":49,"title":"settings.inc.php does not seem loaded when SettingsManager.php is called by ServerInterface","user":{"login":"Krim69","id":4883782,"avatar_url":"https://avatars.githubusercontent.com/u/4883782?v=3","gravatar_id":"","url":"https://api.github.com/users/Krim69","html_url":"https://github.com/Krim69","followers_url":"https://api.github.com/users/Krim69/followers","following_url":"https://api.github.com/users/Krim69/following{/other_user}","gists_url":"https://api.github.com/users/Krim69/gists{/gist_id}","starred_url":"https://api.github.com/users/Krim69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Krim69/subscriptions","organizations_url":"https://api.github.com/users/Krim69/orgs","repos_url":"https://api.github.com/users/Krim69/repos","events_url":"https://api.github.com/users/Krim69/events{/privacy}","received_events_url":"https://api.github.com/users/Krim69/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-30T17:20:37Z","updated_at":"2015-05-30T17:20:37Z","closed_at":null,"body":"Hello,\r\n\r\nI am struggling to solve a weird situation with MUMPI.\r\nBasically, SettingsManager.php loads the settings from setting.inc.php, and is called in the main index.php and in ServerInterface.php by require_once.\r\n\r\nHowever, the call works in index.php while in ServerInterface I get the following Notice in Apache log:\r\nPHP Notice:  Undefined variable: debug in /var/www/MyViewer/classes/SettingsManager\r\nAnd also the same message for all other variables used: dbInterface_type, dbInterface_address, etc.\r\n\r\nSo I do not understand why $debug (and other variables) exists when SettingsManager.php is called by index.php but does not exist anymore in ServerInterface.php?\r\nAny idea?\r\n\r\nMany Thanks,\r\nKrux01"}}