Skip to content
Snippets Groups Projects
Select Git revision
  • master default
  • Remove_CultureCenter
  • CYT_update
  • schorr_addition
4 results

config.sample.php

Blame
  • Forked from an inaccessible project.
    config.sample.php 610 B
    <?php
    /**
     * This file defines constants for the configurable portions of the tour.
     */
    ini_set('display_errors',true);
    error_reporting(E_ALL);
    
    function autoload($class)
    {
        $class = str_replace('_', '/', $class);
        include $class . '.php';
    }
    
    spl_autoload_register("autoload");
    
    // Set to false on production machines
    ini_set('display_errors', true);
    error_reporting(E_ALL);
    
    set_include_path(dirname(__FILE__).'/src'.PATH_SEPARATOR.dirname(__FILE__).'/lib/php');
    
    UNL_TourMap::$url = 'http://localhost/workspace/UNL_TourMap/www/';
    UNL_TourMap_Marker_Image::$image_dir = dirname(__FILE__).'/www/images';