You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The configuration file is named Config.php, but Laravel uses config.php when loading package-specific configuration files. This doesn't affect Windows users, but the configuration is completely ignored on Linux, and all settings default to falsey values (because Config::get('cron::setting') returns null, since it can't find the config file).
This also affects publishing, since artisan config:publish just copies the file from the vendor folder as-is, so it will also be copied with the wrong name.
The solution is simple - just lowercase the filename.
I'll send a pull request for this in a couple of minutes.
The text was updated successfully, but these errors were encountered:
levacic
added a commit
to levacic/cron
that referenced
this issue
Mar 4, 2014
The configuration file is named
Config.php
, but Laravel usesconfig.php
when loading package-specific configuration files. This doesn't affect Windows users, but the configuration is completely ignored on Linux, and all settings default to falsey values (becauseConfig::get('cron::setting')
returnsnull
, since it can't find the config file).This also affects publishing, since
artisan config:publish
just copies the file from the vendor folder as-is, so it will also be copied with the wrong name.The solution is simple - just lowercase the filename.
I'll send a pull request for this in a couple of minutes.
The text was updated successfully, but these errors were encountered: