// (c) Copyright 2002-2013 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: include_sefurl.php 50503 2014-03-25 23:52:33Z jyhem $ require_once 'tiki-setup.php'; $access->check_script($_SERVER["SCRIPT_NAME"], basename(__FILE__)); if (isset($_REQUEST['save'])) { check_ticket('admin-inc-sefurl'); $_REQUEST['feature_sefurl_paths'] = preg_split('/ *[,\\/] */', $_REQUEST['feature_sefurl_paths']); simple_set_value('feature_sefurl_paths'); } if (TikiInit::isIIS()) { $httpd = 'IIS'; if (TikiInit::hasIIS_UrlRewriteModule()) { $smarty->assign('IIS_UrlRewriteModule', true); $enabledFileName = 'web.config'; $referenceFileName = 'web_config'; } else { $smarty->assign('IIS_UrlRewriteModule', false); } } else { $enabledFileName = '.htaccess'; $referenceFileName = '_htaccess'; $httpd = 'Apache'; } $smarty->assign('httpd', $httpd); // Check if the URL rewriting configuration file is present and current $configurationFile = "missing"; if (isset($enabledFileName)) {