Currently the location is hardcoded using the constant __DIR__ and assuming the module's base dir resides in the "module" directory of a yawik installation.
However, since YAWIK's structure changed with 0.32.0, modules are developed as standalone projects.
The module.config.php then is not in a module directory of a yawik instance. (Because yawik is run in test/sandbox/)
We need a way to set the log file location based on the condition the module is run under.
Currently the location is hardcoded using the constant __DIR__ and assuming the module's base dir resides in the "module" directory of a yawik installation.
However, since YAWIK's structure changed with 0.32.0, modules are developed as standalone projects. The module.config.php then is not in a module directory of a yawik instance. (Because yawik is run in
test/sandbox/
)We need a way to set the log file location based on the condition the module is run under.
@kilip What do you think? Do you have an idea?