Installation: bug fixes
This commit is contained in:
@@ -35,7 +35,7 @@ class SystemHelper extends \Espo\Core\Utils\System
|
||||
|
||||
protected $apiPath;
|
||||
|
||||
protected $modRewriteUrl = '/Metadata';
|
||||
protected $modRewriteUrl = '/';
|
||||
|
||||
protected $writableDir = 'data';
|
||||
|
||||
|
||||
@@ -27,6 +27,18 @@
|
||||
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
|
||||
************************************************************************/
|
||||
|
||||
$clearedCookieList = [
|
||||
'auth-token-secret',
|
||||
'auth-username',
|
||||
'auth-token',
|
||||
];
|
||||
|
||||
foreach ($clearedCookieList as $cookieName) {
|
||||
if (!isset($_COOKIE[$cookieName])) continue;
|
||||
|
||||
setcookie($cookieName, null, -1, '/');
|
||||
}
|
||||
|
||||
$config = $installer->getConfig();
|
||||
|
||||
$fields = array(
|
||||
|
||||
Reference in New Issue
Block a user