From 3b1285dc6826f9b6b77f04dd15090d5eabb0540d Mon Sep 17 00:00:00 2001 From: Yurii Date: Thu, 9 Apr 2026 15:41:53 +0300 Subject: [PATCH] Use DIR for clear cache bootstrap --- clear_cache.php | 2 +- rebuild.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clear_cache.php b/clear_cache.php index 1b37cc5974..21cce5dc38 100644 --- a/clear_cache.php +++ b/clear_cache.php @@ -27,7 +27,7 @@ * these Appropriate Legal Notices must retain the display of the "EspoCRM" word. ************************************************************************/ -include "bootstrap.php"; +include __DIR__ . "/bootstrap.php"; use Espo\Core\Application; use Espo\Core\ApplicationRunners\ClearCache; diff --git a/rebuild.php b/rebuild.php index 0ecb212787..82ad3bf07a 100644 --- a/rebuild.php +++ b/rebuild.php @@ -27,7 +27,7 @@ * these Appropriate Legal Notices must retain the display of the "EspoCRM" word. ************************************************************************/ -include "bootstrap.php"; +include __DIR__ . "/bootstrap.php"; use Espo\Core\Application; use Espo\Core\ApplicationRunners\Rebuild;