mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 11:00:40 +08:00
Remove PHP session headers
- Removed all native PHP session functions as they bypass the Symfony event system. Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
This commit is contained in:
parent
897240324a
commit
cfa14208f6
1 changed files with 0 additions and 3 deletions
|
@ -21,9 +21,6 @@ if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? $_ENV['TRUSTED_HOSTS'] ?? false
|
|||
Request::setTrustedHosts([$trustedHosts]);
|
||||
}
|
||||
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
header('Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept');
|
||||
|
||||
// Get the autoloader class
|
||||
require __DIR__ . '/vendor/autoload.php';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue