diff options
author | Simon Rettberg | 2022-05-02 18:49:09 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-05-02 18:49:09 +0200 |
commit | 5eb8df7432a708284862e4b126e418265d36b4ab (patch) | |
tree | d8812cc2bd6245e0b02ca6866a4c14e977e1bb62 /api.php | |
parent | [rebootcontrol] Show time of execution for WOL/reboot/shutdown (diff) | |
download | slx-admin-5eb8df7432a708284862e4b126e418265d36b4ab.tar.gz slx-admin-5eb8df7432a708284862e4b126e418265d36b4ab.tar.xz slx-admin-5eb8df7432a708284862e4b126e418265d36b4ab.zip |
[inc/Util] Add types, move error printing functions to their own class
Diffstat (limited to 'api.php')
-rw-r--r-- | api.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ if (Module::isAvailable($module)) { } if (!file_exists($module)) { - Util::traceError('Invalid module, or module without API: ' . $module); + ErrorHandler::traceError('Invalid module, or module without API: ' . $module); } if (php_sapi_name() === 'cli') { register_shutdown_function(function() { |