44 lines
1.2 KiB
PHP
Executable File
44 lines
1.2 KiB
PHP
Executable File
<?php
|
|
|
|
/**
|
|
* This file is part of O3-Shop.
|
|
*
|
|
* O3-Shop is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, version 3.
|
|
*
|
|
* O3-Shop is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
|
*
|
|
* @copyright Copyright (c) 2022 OXID eSales AG (https://www.oxid-esales.com)
|
|
* @copyright Copyright (c) 2022 O3-Shop (https://www.o3-shop.com)
|
|
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
|
*/
|
|
|
|
// mod_rewrite check
|
|
if (isset($_REQUEST['mod_rewrite_module_is'])) {
|
|
$sMode = $_REQUEST['mod_rewrite_module_is'];
|
|
if ($sMode == 'on') {
|
|
die("mod_rewrite_on");
|
|
} else {
|
|
die("mod_rewrite_off");
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Detects serchengine URLs
|
|
*
|
|
* @return bool true
|
|
*/
|
|
function isSearchEngineUrl()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
// executing regular routines ...
|
|
require 'index.php';
|