Log function
implement log() function.
This commit is contained in:
parent
d6d593d724
commit
14fde5dc9b
122 changed files with 1280 additions and 1161 deletions
|
@ -2,6 +2,7 @@
|
|||
/**
|
||||
* @file view/theme/vier/style.php
|
||||
*/
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\PConfig;
|
||||
use Friendica\Model\Profile;
|
||||
|
@ -31,7 +32,7 @@ foreach (['style', $style] as $file) {
|
|||
}
|
||||
} else {
|
||||
//TODO: use LOGGER_ERROR?
|
||||
logger('Error: missing file: "' . $stylecssfile .'" (userid: '. $uid .')');
|
||||
Logger::log('Error: missing file: "' . $stylecssfile .'" (userid: '. $uid .')');
|
||||
}
|
||||
}
|
||||
$modified = gmdate('r', $modified);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue