Bruno17 / MIGX

MIGX for revo 2.2 and above
85 stars 78 forks source link

Avoid addPackage error log messages for MODX 3 packages #408

Closed halftrainedharry closed 1 year ago

halftrainedharry commented 1 year ago

For MODX 3 packages, the code constantly creates error messages in the log "Path specified for package {$pkg} is not a valid or accessible directory: {$path}", because the path was changed from model/ to src/Model/.

This can be avoided by leaving packageName empty in the configuration, but for custom processors/renderers/etc. to work, the package name has to be filled in.