mirror of
https://github.com/manualdousuario/marreta.git
synced 2025-09-01 10:10:14 +00:00
fix validate url
This commit is contained in:
parent
7c01bce35f
commit
734acedecb
1 changed files with 0 additions and 5 deletions
|
@ -21,11 +21,6 @@ try {
|
|||
'SITE_URL'
|
||||
])->notEmpty();
|
||||
|
||||
// Validate URL format
|
||||
if (!filter_var($_ENV['SITE_URL'], FILTER_VALIDATE_URL)) {
|
||||
throw new Exception('SITE_URL must be a valid URL');
|
||||
}
|
||||
|
||||
// Core system settings
|
||||
define('SITE_NAME', $_ENV['SITE_NAME']);
|
||||
define('SITE_DESCRIPTION', $_ENV['SITE_DESCRIPTION']);
|
||||
|
|
Loading…
Add table
Reference in a new issue