Show
Ignore:
Timestamp:
05/30/07 14:58:43 (2 years ago)
Author:
gerd
Message:

Added minimal "patExampleGen" which allows to configure include paths

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/examples/example_compiler_display.php

    r201 r453  
    2121 */ 
    2222 
    23     error_reporting( E_ALL ); 
    24   
    25    /** 
    26     * requires patErrorManager 
    27     * make sure that it is in your include path 
    28     */ 
    29     require_once( 'pat/patErrorManager.php' ); 
    30      
    31    /** 
    32     * main class 
    33     */ 
    34     require_once '../patTemplate.php'; 
     23    /** 
     24     * Main examples prepend file, needed *only* for the examples framework! 
     25     */ 
     26    include_once 'patExampleGen/prepend.php'; 
     27 
     28    // EXAMPLE START ------------------------------------------------------ 
     29 
     30    /** 
     31     * patErrorManager class 
     32     */ 
     33    require_once $neededFiles['patErrorManager']; 
     34 
     35    /** 
     36     * patTemplate 
     37     */ 
     38    require_once $neededFiles['patTemplate']; 
    3539 
    3640   /**