Go to most recent revision |
    Details |
    Last modification |
    View Log
    | RSS feed
  
  
  
     
        
        | Rev | 
        Author | 
        Line No. | 
        Line | 
        
     
     
        
           | 1 | 
           rodolico | 
           1 | 
           <?php
  | 
        
        
            | 
            | 
           2 | 
              | 
        
        
           | 36 | 
           rodolico | 
           3 | 
              // add php_library_v2 to include path. This assumes it is a subdirectory of the directory the config file is in
  | 
        
        
            | 
            | 
           4 | 
              ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . realpath( __DIR__ . '/php_library_v2' ) ); 
  | 
        
        
           | 1 | 
           rodolico | 
           5 | 
              | 
        
        
           | 43 | 
           rodolico | 
           6 | 
              global $configuration;
  | 
        
        
            | 
            | 
           7 | 
              $configuration = yaml_parse_file( './camp2_config.yaml' );
  | 
        
        
           | 1 | 
           rodolico | 
           8 | 
              | 
        
        
           | 36 | 
           rodolico | 
           9 | 
              // for debugging
  | 
        
        
            | 
            | 
           10 | 
              define( 'DEBUG', false );
  | 
        
        
           | 1 | 
           rodolico | 
           11 | 
              | 
        
        
            | 
            | 
           12 | 
           ?>
  |