Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Removed test code that displays cron url

givanz517bc09faf44
diff --git a/app/controller/cron.php b/app/controller/cron.php
index 8b535bb..48bf813 100755
--- a/app/controller/cron.php
+++ b/app/controller/cron.php
@@ -22,8 +22,6 @@
namespace Vvveb\Controller;
-use function Vvveb\url;
-
#[\AllowDynamicProperties]
class Cron {
function _construct() {
@@ -50,15 +48,15 @@ class Cron {
}
if (! empty($this->request->post) || defined('CLI')) {
- die(0);
+ die();
}
- die(0);
+ die();
}
function call() {
$cronkey = \Vvveb\getConfig('app.cronkey');
- echo $url = url('cron/index', ['key' => $cronkey]);
+
$options = [
'timeout' => 0.01,
'blocking' => false,