EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Use DIR for clear cache bootstrap
Yurii3b1285dc6826
diff --git a/clear_cache.php b/clear_cache.phpindex 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.phpindex 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;