From f408d0a955c7d820d926bba9cfe12dc0ccfefbee Mon Sep 17 00:00:00 2001 From: Rajeev Sharma <46904944+rajeevsharma34@users.noreply.github.com> Date: Thu, 12 Sep 2024 18:41:36 +0530 Subject: [PATCH] confl_reso --- config.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/config.php b/config.php index 651edfb8..50455470 100644 --- a/config.php +++ b/config.php @@ -15,18 +15,12 @@ define('ROOT_URL', $rootURL); define('Proxy_Domain_Path',$proxyDomainParse['path']); - - - $document = isset($_GET['document']) ? $_GET['document'] : ''; // Step 2: Sanitize the input to prevent XSS attacks $document_sanitized = htmlspecialchars($document, ENT_QUOTES, 'UTF-8'); define('DOCUMENT_PATH',$document_sanitized); - - - /* DATABASE */ define('DATABASE', 'database'); @@ -92,10 +86,6 @@ define('AZURE_ACCOUNT_KEY', getenv('AZURE_ACCOUNT_KEY')); define('IMAGE_FILE_FORMAT', 'png,jpg,gif'); - - - - //AWS S3 Bucket Credentials define('AWS_REGION', getenv('AWS_REGION')); define('AWS_ACCESS_KEY', getenv('AWS_ACCESS_KEY')); @@ -125,4 +115,4 @@ ini_set('session.use_only_cookies', 1); ini_set('session.cookie_secure', 1); -ini_set('session.cookie_httponly', 1); +ini_set('session.cookie_httponly', 1); \ No newline at end of file