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)) {