Source for file dwooAutoload.php

Documentation is available at dwooAutoload.php

  1. <?php
  2.  
  3. function dwooAutoload($class)
  4. {
  5.     if (substr($class05=== 'Dwoo_'{
  6.         include strtr($class'_'DIRECTORY_SEPARATOR).'.php';
  7.     }
  8. }
  9.  
  10. spl_autoload_register('dwooAutoload');
  11.  
  12. set_include_path(str_replace(PATH_SEPARATOR.dirname(__FILE__)''get_include_path()) PATH_SEPARATOR dirname(__FILE__));
  13.  
  14. include 'Dwoo.php';

Documentation generated on Sun, 07 Sep 2008 23:57:44 +0200 by phpDocumentor 1.4.0