1 2 3 4 5 |
<FilesMatch "\.(ttf|otf|eot|woff)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch> |
Functions
HTML
Click on Wamp icon and open Apache/httpd.conf and search “#LoadModule rewrite_module modules/mod_rewrite.so”. Remove # as below and save it
1 |
LoadModule rewrite_module modules/mod_rewrite.so |
and restart all service.
1 |
$('span[attName=attData]').css('border','1px solid #d95c5c'); |
1 2 |
$("body").on('DOMSubtreeModified', "#selector", function() { } |
1 2 3 4 5 6 |
SELECT *, ( 6371 * acos( cos( radians({$lat}) ) * cos( radians( `lat` ) ) * cos( radians( `lng` ) - radians({$lng}) ) + sin( radians({$lat}) ) * sin( radians( `lat` ) ) ) ) AS distance FROM `positions` HAVING distance <= {$radius} ORDER BY distance ASC |
Now you can go \wamp\alias\phpmyadmin.conf and edit this file.
it should look like this although your version of phpMyAdmin will probably be different
1 2 3 4 5 6 7 |
UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldurl', 'http://www.newurl') WHERE option_name = 'home' OR option_name = 'siteurl'; UPDATE wp_posts SET guid = replace(guid, 'http://www.oldurl','http://www.newurl'); UPDATE wp_posts SET post_content = replace( |