Skip to content
Snippets Groups Projects
Select Git revision
  • be59d5b0d8b3eac3907041412bb47f66a285a909
  • master default
2 results

config.sample.php

Blame
  • user avatar
    Brett Bieber authored
    be59d5b0
    History
    config.sample.php 293 B
    <?php
    // Sample configuration file for the ucomm webforms project
    
    set_include_path(dirname(__FILE__).'/lib/php'.PATH_SEPARATOR.get_include_path());
    
    function myautoload($class)
    {
        $file = str_replace('_', '/', $class).'.php';
        require_once $file;
    }
    
    spl_autoload_register('myautoload');