summaryrefslogtreecommitdiffstats
path: root/api.php
diff options
context:
space:
mode:
authorSimon Rettberg2022-05-02 18:49:09 +0200
committerSimon Rettberg2022-05-02 18:49:09 +0200
commit5eb8df7432a708284862e4b126e418265d36b4ab (patch)
treed8812cc2bd6245e0b02ca6866a4c14e977e1bb62 /api.php
parent[rebootcontrol] Show time of execution for WOL/reboot/shutdown (diff)
downloadslx-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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.php b/api.php
index 23328993..a40a0a1c 100644
--- a/api.php
+++ b/api.php
@@ -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() {