log when including a file

This commit is contained in:
Evan Prodromou 2011-12-03 12:31:47 -05:00
parent a818d5c61a
commit 0760c64264

View File

@ -362,6 +362,7 @@ class StatusNet
if (@file_exists($_config_file)) { if (@file_exists($_config_file)) {
// Ignore 0-byte config files // Ignore 0-byte config files
if (filesize($_config_file) > 0) { if (filesize($_config_file) > 0) {
common_log(LOG_INFO, "Including config file: " . $_config_file);
include($_config_file); include($_config_file);
self::$have_config = true; self::$have_config = true;
} }