From 9576f6743d79153caed60f6a81c260fc041bef06 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 14 Nov 2017 22:13:33 +0000 Subject: [PATCH] Command back ... --- {worker => include}/checkversion.php | 0 {worker => include}/create_shadowentry.php | 0 {worker => include}/cronjobs.php | 0 {worker => include}/dbclean.php | 0 {worker => include}/dbupdate.php | 0 {worker => include}/delivery.php | 0 {worker => include}/directory.php | 0 {worker => include}/discover_poco.php | 0 {worker => include}/expire.php | 0 {worker => include}/gprobe.php | 0 {worker => include}/notifier.php | 0 {worker => include}/profile_update.php | 0 {worker => include}/pubsubpublish.php | 0 {worker => include}/queue.php | 0 {worker => include}/remove_contact.php | 0 {worker => include}/shadowupdate.php | 0 {worker => include}/spool_post.php | 0 {worker => include}/tagupdate.php | 0 {worker => include}/threadupdate.php | 0 {worker => include}/update_gcontact.php | 0 src/Core/Worker.php | 2 +- 21 files changed, 1 insertion(+), 1 deletion(-) rename {worker => include}/checkversion.php (100%) rename {worker => include}/create_shadowentry.php (100%) rename {worker => include}/cronjobs.php (100%) rename {worker => include}/dbclean.php (100%) rename {worker => include}/dbupdate.php (100%) rename {worker => include}/delivery.php (100%) rename {worker => include}/directory.php (100%) rename {worker => include}/discover_poco.php (100%) rename {worker => include}/expire.php (100%) rename {worker => include}/gprobe.php (100%) rename {worker => include}/notifier.php (100%) rename {worker => include}/profile_update.php (100%) rename {worker => include}/pubsubpublish.php (100%) rename {worker => include}/queue.php (100%) rename {worker => include}/remove_contact.php (100%) rename {worker => include}/shadowupdate.php (100%) rename {worker => include}/spool_post.php (100%) rename {worker => include}/tagupdate.php (100%) rename {worker => include}/threadupdate.php (100%) rename {worker => include}/update_gcontact.php (100%) diff --git a/worker/checkversion.php b/include/checkversion.php similarity index 100% rename from worker/checkversion.php rename to include/checkversion.php diff --git a/worker/create_shadowentry.php b/include/create_shadowentry.php similarity index 100% rename from worker/create_shadowentry.php rename to include/create_shadowentry.php diff --git a/worker/cronjobs.php b/include/cronjobs.php similarity index 100% rename from worker/cronjobs.php rename to include/cronjobs.php diff --git a/worker/dbclean.php b/include/dbclean.php similarity index 100% rename from worker/dbclean.php rename to include/dbclean.php diff --git a/worker/dbupdate.php b/include/dbupdate.php similarity index 100% rename from worker/dbupdate.php rename to include/dbupdate.php diff --git a/worker/delivery.php b/include/delivery.php similarity index 100% rename from worker/delivery.php rename to include/delivery.php diff --git a/worker/directory.php b/include/directory.php similarity index 100% rename from worker/directory.php rename to include/directory.php diff --git a/worker/discover_poco.php b/include/discover_poco.php similarity index 100% rename from worker/discover_poco.php rename to include/discover_poco.php diff --git a/worker/expire.php b/include/expire.php similarity index 100% rename from worker/expire.php rename to include/expire.php diff --git a/worker/gprobe.php b/include/gprobe.php similarity index 100% rename from worker/gprobe.php rename to include/gprobe.php diff --git a/worker/notifier.php b/include/notifier.php similarity index 100% rename from worker/notifier.php rename to include/notifier.php diff --git a/worker/profile_update.php b/include/profile_update.php similarity index 100% rename from worker/profile_update.php rename to include/profile_update.php diff --git a/worker/pubsubpublish.php b/include/pubsubpublish.php similarity index 100% rename from worker/pubsubpublish.php rename to include/pubsubpublish.php diff --git a/worker/queue.php b/include/queue.php similarity index 100% rename from worker/queue.php rename to include/queue.php diff --git a/worker/remove_contact.php b/include/remove_contact.php similarity index 100% rename from worker/remove_contact.php rename to include/remove_contact.php diff --git a/worker/shadowupdate.php b/include/shadowupdate.php similarity index 100% rename from worker/shadowupdate.php rename to include/shadowupdate.php diff --git a/worker/spool_post.php b/include/spool_post.php similarity index 100% rename from worker/spool_post.php rename to include/spool_post.php diff --git a/worker/tagupdate.php b/include/tagupdate.php similarity index 100% rename from worker/tagupdate.php rename to include/tagupdate.php diff --git a/worker/threadupdate.php b/include/threadupdate.php similarity index 100% rename from worker/threadupdate.php rename to include/threadupdate.php diff --git a/worker/update_gcontact.php b/include/update_gcontact.php similarity index 100% rename from worker/update_gcontact.php rename to include/update_gcontact.php diff --git a/src/Core/Worker.php b/src/Core/Worker.php index db93adddaa..b06c4920ee 100644 --- a/src/Core/Worker.php +++ b/src/Core/Worker.php @@ -241,7 +241,7 @@ class Worker { // The script could be provided as full path or only with the function name if ($include == basename($include)) { - $include = "worker/".$include.".php"; + $include = "include/".$include.".php"; } if (!validate_include($include)) { -- 2.39.5