<?php
function transferAutoload($class) { if (substr($class, 0, strlen("Transfer_")) === 'Transfer_') { include dirname(__FILE__).DIRECTORY_SEPARATOR.strtr(substr($class, strlen("Transfer_")), '_', DIRECTORY_SEPARATOR).'.php'; } } spl_autoload_register('transferAutoload'); set_include_path(get_include_path().PATH_SEPARATOR.realpath(dirname(__FILE__)));
|