PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
plugins
/
vxcash
<?php /** * Autoloader */ spl_autoload_register('vxcash_autoload'); function vxcash_autoload($className) { $directories = array('includes', 'public', 'admin'); if (stripos($className, 'vxcash') !== false) { $path = realpath(plugin_dir_path(__FILE__)) . DIRECTORY_SEPARATOR; $name = 'class-' . implode('-', explode('_', strtolower($className))) . '.php'; foreach ($directories as $directory) { if (file_exists($path . $directory . DIRECTORY_SEPARATOR . $name)) { require_once $path . $directory . DIRECTORY_SEPARATOR . $name; break; } } } }
[+]
dist
[-] index.php
[edit]
[+]
admin
[+]
plugin-updates
[+]
public
[+]
fonts
[-] vxcash.php
[edit]
[-] autoload.php
[edit]
[-] uninstall.php
[edit]
[+]
includes
[+]
languages
[+]
..
[-] LICENSE.txt
[edit]