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;