Created
October 21, 2014 21:01
-
-
Save korobochkin/82c7874243699f58b761 to your computer and use it in GitHub Desktop.
Some fucking stuff from gt3themes.com studio
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Stupid guys from http://www.gt3themes.com write this code in WordPress themes. I hate this company. | |
* Never buy their themes. | |
* | |
*/ | |
header("Content-type: text/css"); | |
$wp_include = "../../../../wp-load.php"; | |
$i = 0; | |
while (!file_exists($wp_include) && $i++ < 10) { | |
$wp_include = "../$wp_include"; | |
} | |
require($wp_include); | |
// ... | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment