Changeset 27 for php/trunk/samples/sample_config.php
- Timestamp:
- Jul 13, 2011, 1:46:00 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
php/trunk/samples/sample_config.php
r6 r27 5 5 * Author: Christian Langanke, Adrian Gschwend 6 6 * 7 * Licensed under the Apache License, Ve rsion 2.0 (the "License");7 * Licensed under the Apache License, Ve on 2.0 (the "License"); 8 8 * you may not use this file except in compliance with the License. 9 9 * You may obtain a copy of the License at … … 18 18 */ 19 19 20 // ------ configure ARC2 - mandantory21 define( 'ARC2', getenv( 'PHP_LIBROOT_ARC2'));22 20 23 // ----- configure fDebug - optional 24 // define locations of required external libraries 25 define( 'fDebug', getenv( 'PHP_LIBROOT_FDEBUG')); 26 if (fDebug !== '') { 21 // define base name of sample in fDebug 22 define( 'SAMPLE_NAME', 'RDFInt Sample'); 27 23 28 // define base name of sample in fDebug 29 define( 'SAMPLE_NAME', 'RDFInt Sample'); 24 // activate debug output of the library classes 25 // if not set, only the sample code itself generates debug messages 26 define( 'RDFA_DEBUGOUTPUT_CLASSES', true); 30 27 31 // activate debug output of the library classes 32 // if not set, only the sample code itself generates debug messages 33 define( 'RDFA_DEBUGOUTPUT_CLASSES', true); 34 35 // activate debug output for specific RDFaLIB classes in samples and unittests 36 define( 'RDFA_DEBUGOUTPUT_READER', true); 37 define( 'RDFA_DEBUGOUTPUT_PROJECTION', true); 38 define( 'RDFA_DEBUGOUTPUT_SPARQLENDPOINT', true); 39 define( 'RDFA_DEBUGOUTPUT_SPARQLQUERY', true); 40 } 41 42 // define location of rdfint 43 // TODO - replace with autoload code 44 define( 'RDFINT', getenv( 'PHP_LIBROOT_RDFINT')); 45 require_once( RDFINT.'/rdfa.php'); 28 // activate debug output for specific RDFaLIB classes in samples and unittests 29 define( 'RDFA_DEBUGOUTPUT_READER', true); 30 define( 'RDFA_DEBUGOUTPUT_PROJECTION', true); 31 define( 'RDFA_DEBUGOUTPUT_SPARQLENDPOINT', true); 32 define( 'RDFA_DEBUGOUTPUT_SPARQLQUERY', true); 46 33 47 34 ?>
Note:
See TracChangeset
for help on using the changeset viewer.