author | Anthony Ly <anthonyly.com@gmail.com> |
Tue, 12 Mar 2013 18:21:39 +0100 | |
changeset 206 | 919b4ddb13fa |
parent 136 | bde1974c263b |
permissions | -rw-r--r-- |
136 | 1 |
<?php |
2 |
require_once( WP_CONTENT_DIR . '/../wp-includes/class-snoopy.php'); |
|
3 |
||
4 |
$snoopy = new Snoopy(); |
|
5 |
$snoopy->offsiteok = true; /* allow a redirect to different domain */ |
|
6 |
$result = $snoopy->fetch( 'http://www.bravenewcode.com/custom/wptouch-plugin-compat-list.php' ); |
|
7 |
if($result) { |
|
8 |
echo $snoopy->results; |
|
9 |
} else { |
|
10 |
echo '<p>We were not able to load the Wire panel on your server.</p>'; |
|
11 |
} |
|
12 |
?> |