Skip to content

Commit

Permalink
Clarify the notice given when config.php-dist is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
parseword committed Jul 11, 2018
1 parent daed279 commit 9ef5fb7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nolovia.php
Expand Up @@ -42,8 +42,10 @@
}
//Warn if the distribution config is newer than the local one
if ((int) @filemtime('./config.php') < filemtime('./config.php-dist')) {
console_message('NOTICE: php.config-dist is newer than your config.php. '
. 'Please check for new settings to ensure proper operation.');
console_message('NOTICE: php.config-dist is newer than your config.php.');
console_message('NOTICE: Please check for new settings to ensure proper operation.');
console_message('NOTICE: You can view the most recent configuration changes at:');
console_message('NOTICE: https://github.com/parseword/nolovia/commits/master/config.php-dist');
}
require_once('./config.php');

Expand Down

0 comments on commit 9ef5fb7

Please sign in to comment.