web/wp-content/plugins/wptouch/ajax/load-plugins.php
changeset 136 bde1974c263b
equal deleted inserted replaced
135:53cff4b4a802 136:bde1974c263b
       
     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 ?>