Replaced: use QloApps instead of Prestashop

This commit is contained in:
azhar bhat
2026-09-18 10:35:03 +05:30
parent 828acb621d
commit f6efbaf2ef
10 changed files with 28 additions and 40 deletions

View File

@@ -2374,9 +2374,9 @@ class ToolsCore
}
// Write data in .htaccess file
fwrite($write_fd, "# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again\n");
fwrite($write_fd, "# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution\n");
fwrite($write_fd, "# http://www.prestashop.com - http://www.prestashop.com/forums\n\n");
fwrite($write_fd, "# ~~start~~ Do not remove this comment, QloApps will keep automatically the code outside this comment when .htaccess will be generated again\n");
fwrite($write_fd, "# .htaccess automaticaly generated by QloApps hotel commerce open-source solution\n");
fwrite($write_fd, "# https://www.qloapps.com\n\n");
if ($disable_modsec) {
fwrite($write_fd, "<IfModule mod_security.c>\nSecFilterEngine Off\nSecFilterScanPOST Off\n</IfModule>\n\n");
@@ -2584,7 +2584,7 @@ FileETag none
$domain = current($domains);
fwrite($write_fd, 'ErrorDocument 404 '.$domain[0]['physical']."index.php?controller=404\n\n");
fwrite($write_fd, "# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again");
fwrite($write_fd, "# ~~end~~ Do not remove this comment, QloApps will keep automatically the code outside this comment when .htaccess will be generated again");
if ($specific_after) {
fwrite($write_fd, "\n\n".trim($specific_after));
}