PATH:
home
/
njujpgyl
/
public_html
<?php // config.php session_start(); // Security configuration define('ADMIN_USERNAME', 'admin'); // In production, use: password_hash('your_secure_password', PASSWORD_DEFAULT) define('ADMIN_PASSWORD_HASH', password_hash('admin123', PASSWORD_DEFAULT)); define('XML_FILE', 'arealist.xml'); define('CONTENT_DIR', 'content/'); define('DEFAULT_CONTENT_FILE', 'content/default.php'); // Ensure content directory exists if (!is_dir(CONTENT_DIR)) { mkdir(CONTENT_DIR, 0755, true); } // CSRF Protection if (empty($_SESSION['csrf_token'])) { $_SESSION['csrf_token'] = bin2hex(random_bytes(32)); } // Helper functions function createHierarchicalUrlA($slug) { return '/' . $slug . '/'; } function verifyCSRFToken($token) { return isset($_SESSION['csrf_token']) && hash_equals($_SESSION['csrf_token'], $token); } // Security headers handled below // config.php - Enhanced version define('URL', 'delhigal.com'); define('BASE_DOMAIN', 'delhigal.com'); // Security & Performance Settings define('ENVIRONMENT', 'development'); // Change to 'production' on live server // Error reporting based on environment if (ENVIRONMENT === 'development') { error_reporting(E_ALL); ini_set('display_errors', 1); } else { error_reporting(E_ALL & ~E_NOTICE); ini_set('display_errors', 0); } // Security headers function setSecurityHeaders() { if (!headers_sent()) { header('X-Frame-Options: SAMEORIGIN'); header('X-XSS-Protection: 1; mode=block'); header('X-Content-Type-Options: nosniff'); } } setSecurityHeaders(); include 'functions.php';
[+]
..
[+]
cgi-bin
[-] delhigal.zip
[edit]
[+]
content1
[+]
image
[-] .ftpquota
[edit]
[-] 404.php
[edit]
[-] android-chrome-192x192.png
[edit]
[-] android-chrome-512x512.png
[edit]
[-] apple-touch-icon.png
[edit]
[-] arealist.xml
[edit]
[-] auth.php
[edit]
[-] cache.php
[edit]
[-] config.php
[edit]
[-] content_manager.php
[edit]
[-] error_log
[edit]
[-] favicon.ico
[edit]
[-] favicon-16x16.png
[edit]
[-] favicon-32x32.png
[edit]
[-] frontpage.php
[edit]
[-] functions.php
[edit]
[-] google2fabcdaeda4836e4.html
[edit]
[-] index.php
[edit]
[-] index1.html
[edit]
[-] index1.php
[edit]
[-] login.php
[edit]
[-] logout.php
[edit]
[-] robots.txt
[edit]
[-] style.css
[edit]
[-] template.php
[edit]
[-] template-footer.php
[edit]
[-] template-header.php
[edit]
[-] test.php
[edit]
[-] xml_manager.php
[edit]
[+]
.well-known
[+]
cache
[+]
content
[-] error_logs.php
[edit]
[-] _
[edit]