yawik / SimpleImport

Simple Job Import Module. Imports job openings into YAWIK
MIT License
0 stars 1 forks source link

Specifying log file directory in module.config.php #23

Closed TiSiE closed 5 years ago

TiSiE commented 5 years ago

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?