Note: All files are copied to the uploads directory. Author: Dion Hulse Author URI: http://dd32.id.au/ */ add_action('plugins_loaded', 'afs_load'); function afs_load() { if ( ! is_admin() ) return; include 'class.add-from-server.php'; $GLOBALS['add-from-server'] = new add_from_server( plugin_basename(__FILE__) ); }