Sindbad~EG File Manager
<?php
if ( !defined('ABSPATH') ) {
//If wordpress isn't loaded load it up.
$full_path_to_file = __FILE__;
$path_array = explode('/', $full_path_to_file);
$path = $_SERVER['DOCUMENT_ROOT'];
include_once $path . '/wp-load.php';
}
/******************************************
* Twitter auth ($_REQUEST)
******************************************/
if(isset($_REQUEST['oauth_verifier']) && isset($_REQUEST['oauth_token'])) {
require_once(userpro_path . 'functions/socials/TwitterAuth.php');
$twitter = new TwitterAuth();
$twitter->login();
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists