Skip to content

Commit 1467df4

Browse files
committed
Fix config path
1 parent a7535f3 commit 1467df4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

bin/cron-worker.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,13 @@
5757
// Load Kyte configuration
5858
$configPath = null;
5959
$searchPaths = [
60-
$basePath . '/config/config.php',
60+
// Standard Kyte setup: config.php at project root
61+
$basePath . '/../../config.php',
62+
dirname(dirname($basePath)) . '/config.php',
63+
// Alternative: config/ subdirectory
6164
$basePath . '/../../config/config.php',
6265
dirname(dirname($basePath)) . '/config/config.php',
66+
$basePath . '/config/config.php',
6367
];
6468

6569
foreach ($searchPaths as $path) {

0 commit comments

Comments
 (0)