int processId;
var l = GetKeyboardLayout((uint)GetWindowThreadProcessId(GetForegroundWindow(), out processId));
return new CultureInfo((short)l.ToInt64());
$UploadVideo = ABSPATH . '/wp-content/uploads/uploads/';
$UploadVideo = dirname( __FILE__ ); // ../wp-content/themes/mythema
$UploadVideo = dirname( $UploadVideo ); // ../wp-content/themes
$UploadVideo = dirname( $UploadVideo ); // ../wp-content
$UploadVideo .= '/uploads/uploads/'; // ../wp-content
$UploadVideo = dirname(dirname(dirname( __FILE__ ))).'/uploads/uploads/';
RewriteRule ^/[^/]+/\d+-(.+)\.html$ /product/$1 [R=301,L]
<?php
print_r($_REQUEST);
RewriteRule ^/(.+)$ /test.php?path=$1 [R=301,L]
RewriteRule ^/[^/]+/(.+)$ /test.php?path=$1 [R=301,L]
RewriteRule ^/[^/]+/(.+)\.html$ /test.php?path=$1 [R=301,L]