Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
save_bvnghean.vn
/
wp-content
/
plugins
/
backupbuddy
/
destinations
/
dropbox
/
lib
/
dropbuddy
/
dropbox_api
:
autoload.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /** * This file registers a new autoload function using spl_autoload_register. * * @package Dropbox * @copyright Copyright (C) 2010 Rooftop Solutions. All rights reserved. * @author Evert Pot (http://www.rooftopsolutions.nl/) * @license http://code.google.com/p/dropbox-php/wiki/License MIT */ /** * Autoloader function * * @param $className string * @return void */ function Dropbox_autoload($className) { if(strpos($className,'Dropbox_')===0) { include dirname(__FILE__) . '/' . str_replace('_','/',substr($className,8)) . '.php'; } } spl_autoload_register('Dropbox_autoload');