/var/www/vhosts/m-auto.co/httpdocs
NameSizeModeActions
admin/-0755rm
ajax/-0755rm
assets/-0755rm
includes/-0755rm
uploads/-0755rm
.htaccess29060644editdlrm
7-6-2026.zip159530644editdlrm
404.php13460644editdlrm
500.php13260644editdlrm
about.php22140644editdlrm
add_technical_specs.php36590644editdlrm
ajax_filter_cars.php74120644editdlrm
atom.xml62812440644editdlrm
BACKGROUND_THEMES_INFO.md45610644editdlrm
Backup.zip49650644editdlrm
branches.php107880644editdlrm
calculator.php58970644editdlrm
cars.php219910644editdlrm
car_condition_summary.php92480644editdlrm
car_details.php225840644editdlrm
CAR_GALLERY_README.md78700644editdlrm
car_gallery_summary.php108570644editdlrm
check_brand_matching.php20000644editdlrm
cleanup_for_production.php48780644editdlrm
compare.php202550644editdlrm
COMPARISON_SYSTEM_README.md68320644editdlrm
contact.php38190644editdlrm
contact_process.php23700644editdlrm
database_backup_2025-11-04_13-01-05.sql481380644editdlrm
debug_brands.php22670644editdlrm
deployment_checklist.php68600644editdlrm
DEPLOYMENT_GUIDE.md27120644editdlrm
export_database.php33290644editdlrm
find_nearest_branch.php28890644editdlrm
get-sitemap.php25800644editdlrm
get_branches_by_city.php46970644editdlrm
google7cbe8ec413192e2a.html530644editdlrm
google69217c47da90dd66.html530644editdlrm
index.php6335590644editdlrm
m11.zip322228240644editdlrm
main.php125950644editdlrm
main1.php119110644editdlrm
maintenance.php41690644editdlrm
maintenance_process.php34080644editdlrm
manifest.json8280644editdlrm
news.php26910644editdlrm
news_article.php65360644editdlrm
ODOO_INTEGRATION_README.md44350644editdlrm
offers.php22180644editdlrm
PRODUCTION_SUMMARY.md64260644editdlrm
quick_test_gallery.php60780644editdlrm
README.md61700644editdlrm
robots.txt590644editdlrm
server_check.php52930644editdlrm
sitemap.js4796200644editdlrm
sitemap.xml62818290644editdlrm
sw.js19540644editdlrm
test_odoo_connection.php34740644editdlrm
visit.php37810644editdlrm
visit_process.php27710644editdlrm
x.txt4796570644editdlrm
Edit: /var/www/vhosts/m-auto.co/httpdocs/deployment_checklist.php (6860B)
M-AUTO Deployment Checklist"; echo ""; // File checks echo "

📁 File Structure Check

"; $required_files = [ 'index.php' => 'Main homepage', 'includes/config.php' => 'Configuration file', 'includes/db_production.php' => 'Production database connection', '.htaccess' => 'Apache configuration', 'robots.txt' => 'Search engine instructions', 'sitemap.xml' => 'Site map for SEO', '404.php' => 'Custom 404 error page', '500.php' => 'Custom 500 error page' ]; foreach ($required_files as $file => $description) { if (file_exists($file)) { echo "
✓ $description ($file)
"; } else { echo "
✗ $description ($file) - MISSING
"; } } // Directory checks echo "

📂 Directory Structure Check

"; $required_dirs = [ 'admin' => 'Admin panel', 'includes' => 'Include files', 'assets' => 'Static assets', 'uploads' => 'Upload directory' ]; foreach ($required_dirs as $dir => $description) { if (is_dir($dir)) { $writable = is_writable($dir) ? 'Writable' : 'Not Writable'; $class = is_writable($dir) ? 'completed' : 'pending'; echo "
✓ $description ($dir) - $writable
"; } else { echo "
✗ $description ($dir) - MISSING
"; } } // Database check echo "

🗄️ Database Check

"; try { include 'includes/db.php'; if ($conn && !$conn->connect_error) { echo "
✓ Database connection successful
"; // Check critical tables $critical_tables = ['users', 'permissions', 'user_permissions', 'cars', 'settings']; foreach ($critical_tables as $table) { $result = $conn->query("SHOW TABLES LIKE '$table'"); if ($result && $result->num_rows > 0) { echo "
✓ Table '$table' exists
"; } else { echo "
✗ Table '$table' missing
"; } } // Check admin user $admin_check = $conn->query("SELECT COUNT(*) as count FROM users WHERE id = 1"); if ($admin_check) { $admin_exists = $admin_check->fetch_assoc()['count'] > 0; if ($admin_exists) { echo "
✓ Admin user (ID=1) exists
"; } else { echo "
✗ Admin user (ID=1) missing
"; } } } else { echo "
✗ Database connection failed
"; } } catch (Exception $e) { echo "
✗ Database error: " . $e->getMessage() . "
"; } // Security check echo "

🔒 Security Check

"; $security_checks = [ 'includes/config.php' => 'Configuration file should not be web accessible', 'includes/db.php' => 'Database file should not be web accessible', '.htaccess' => 'Security rules should be in place' ]; // Check if sensitive files are protected $htaccess_content = file_exists('.htaccess') ? file_get_contents('.htaccess') : ''; if (strpos($htaccess_content, 'includes/*') !== false) { echo "
✓ Includes directory protected
"; } else { echo "
⚠ Includes directory protection not found in .htaccess
"; } if (strpos($htaccess_content, 'config.php') !== false) { echo "
✓ Config file protected
"; } else { echo "
⚠ Config file protection not found in .htaccess
"; } // SEO check echo "

🔍 SEO Check

"; if (file_exists('robots.txt')) { echo "
✓ robots.txt exists
"; } else { echo "
⚠ robots.txt missing
"; } if (file_exists('sitemap.xml')) { echo "
✓ sitemap.xml exists
"; } else { echo "
⚠ sitemap.xml missing
"; } // Performance check echo "

⚡ Performance Check

"; if (strpos($htaccess_content, 'mod_deflate') !== false) { echo "
✓ Gzip compression enabled
"; } else { echo "
⚠ Gzip compression not configured
"; } if (strpos($htaccess_content, 'mod_expires') !== false) { echo "
✓ Browser caching configured
"; } else { echo "
⚠ Browser caching not configured
"; } // Final recommendations echo "

📋 Pre-Deployment Checklist

"; echo "
"; echo "
□ Update database credentials in includes/config.php
"; echo "
□ Export database using export_database.php
"; echo "
□ Test server_check.php on production server
"; echo "
□ Run update_urls.php after deployment
"; echo "
□ Install SSL certificate
"; echo "
□ Enable HTTPS redirect in .htaccess
"; echo "
□ Set up regular backups
"; echo "
□ Configure error logging
"; echo "
□ Delete deployment scripts after successful deployment
"; echo "
"; echo "

🚀 Ready for Deployment?

"; echo "
"; echo "Next Steps:
"; echo "1. Follow the instructions in DEPLOYMENT_GUIDE.md
"; echo "2. Upload files to your VPS
"; echo "3. Import database
"; echo "4. Update configuration
"; echo "5. Test everything
"; echo "6. Go live!"; echo "
"; echo "

Generated on: " . date('Y-m-d H:i:s') . "

"; ?>