init()
init(boolean $debugging = false, boolean $fake_profile = true)
Requires non-class defined functions that belong to the Yioop library which might not otherwise be autoloaded. For use when Yioop is being used as a composer library
Parameters
boolean | $debugging | whether to turn on php error reporting |
boolean | $fake_profile | since when used with composer typically the composer's copy of the work directory and profile is not set up. This flag is used to force Yioop to pretend the work directory is set up, so that it doesn't through errors when using the library. |