chovatelskyshop Posted March 16, 2012 Share Posted March 16, 2012 Riesenie problemu s vyhladavanim: - otvorte subor: classes/Search.php - najdite definiciu PREG_CLASS_SEARCH_EXCLUDE - posledne jej riadky vyzeraju nasledovne: '\x{a806}\x{a80b}\x{a823}-\x{a82b}\x{d800}-\x{f8ff}\x{fb1e}\x{fb29}\x{fd3e}'. '\x{fd3f}\x{fdfc}-\x{fe6b}\x{feff}-\x{ff0f}\x{ff1a}-\x{ff20}\x{ff3b}-\x{ff40}'. '\x{ff5b}-\x{ff65}\x{ff70}\x{ff9e}\x{ff9f}\x{ffe0}-\x{fffd}'); - nahradit ich: '\x{a80b}\x{a823}-\x{a82b}\x{f8ff}\x{fb1e}\x{fb29}\x{fd3e}\x{fd3f}\x{fdfc}-' . '\x{fe6b}\x{feff}-\x{ff0f}\x{ff1a}-\x{ff20}\x{ff3b}-\x{ff40}\x{ff5b}-\x{ff65}' . '\x{ff70}\x{ff9e}\x{ff9f}\x{ffe0}-\x{fffd}'); 1 Link to comment Share on other sites More sharing options...
iljic Posted April 19, 2012 Share Posted April 19, 2012 Ďakujem, pomohlo Link to comment Share on other sites More sharing options...
mgnoth Posted April 23, 2012 Share Posted April 23, 2012 tiez dakujem, hladal som to na anglickom fore a nic, podozrieval som nastavenia php na hostingu, tfuj, nemam rad regexpy. migX nakoniec som to Q&D riesil zakomentovanim class SearchCore { public static function sanitize($string, $id_lang, $indexation = false) { ... // tady $string mizi, po zakomentaci search prochazi //$string = preg_replace('/['.PREG_CLASS_SEARCH_EXCLUDE.']+/u', ' ', $string); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now