[phpBB Debug] PHP Warning : in file [ROOT]/includes/crs/crs_misc_functions.php on line 37 : mime_content_type(): Empty filename or path
Zen Cart 源代码 pci_patch_13x_search.php
Zen Cart 源代码 pci_patch_13x_search.php
pci_patch_13x_search.php - 打开高亮
<?php /** * PCI Patch for v1.3.x -- to aid in avoiding false-positives thrown by PCI scans * * @package initSystem * @copyright Copyright 2003-2009 Zen Cart Development Team * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: pci_patch_13x_search.php 14869 2009-11-19 22:24:38Z drbyte $ */ /** * * Please Note : This file should be placed in includes/extra_configures and will automatically load. * */ if (isset($_GET['keyword']) && $_GET['keyword'] != '') { $count = substr_count($_GET['keyword'], '"'); if ($count == 1) { if(substr(stripslashes(trim($_GET['keyword'])), 0, 1) == '"') { $_GET['keyword'] .= '"'; } } $_GET['keyword'] = stripslashes($_GET['keyword']); } if (isset($_GET['sort']) && strlen($_GET['sort']) > 3) { $_GET['sort'] = substr($_GET['sort'], 0, 3); }