Fix missing define('CLI'',...) when called from outside Osclass
Merge pull request #1412 from emanwebdev/patch-17

Fix missing define('CLI'',...) when called from outside Osclass