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_attributes_rowoffset.php

    r328 r453  
    1010 * @link        http://www.php-tools.net 
    1111 */ 
    12     error_reporting( E_ALL ); 
    13   
    14    /** 
    15     * requires patErrorManager 
    16     * make sure that it is in your include path 
    17     */ 
    18     require_once( 'pat/patErrorManager.php' ); 
    19      
    20    /** 
    21     * main class 
    22     */ 
    23     require_once '../patTemplate.php'; 
     12 
     13    /** 
     14     * Main examples prepend file, needed *only* for the examples framework! 
     15     */ 
     16    include_once 'patExampleGen/prepend.php'; 
     17 
     18    // EXAMPLE START ------------------------------------------------------ 
     19 
     20    /** 
     21     * patErrorManager class 
     22     */ 
     23    require_once $neededFiles['patErrorManager']; 
     24 
     25    /** 
     26     * patTemplate 
     27     */ 
     28    require_once $neededFiles['patTemplate']; 
     29 
     30 
     31 
    2432     
    2533    $tmpl   =   &new patTemplate();