|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
When you use sitemap and you have set in php.ini the option to display errors (default in wampserver) the xml-file is incorrect, because the errors are part of the file. I have edited the class/Sitemap.php Code: public function buildFile() { if (isset($_REQUEST['menus'])) { $menus = $_REQUEST['menus']; } else { $menus = null; } ... public function checkURL($link) { $pattern = '/^(([\w]+ ![]() ![]() // print_r($matches); exit; if (preg_match($pattern, $link, $matches)) { return true; } else { return false; } } __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |