source: php/trunk/samples/sample_config.php@ 62

Last change on this file since 62 was 62, checked in by cla, 14 years ago

rdfint

  • reworked way of determining session name for fDebug for the samples
  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1<?PHP
2
3/* RDFInt.php - RDF Interfaces for PHP
4 * Copyright 2011 netlabs.org
5 * Author: Christian Langanke, Adrian Gschwend
6 *
7 * Licensed under the Apache License, Versio 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19
20
21// define base name of sample in fDebug
22
23$sample_name = str_replace( '_', ' ', basename( getcwd()));
24define( 'FDEBUG_SESSION_NAME', 'RDFInt Sample ' . $sample_name);
25
26// --- CURRENTLY NOT USED
27
28// activate debug output of the library classes in samples
29define( 'RDFA_DEBUGOUTPUT_READER', true);
30define( 'RDFA_DEBUGOUTPUT_PROJECTION', true);
31define( 'RDFA_DEBUGOUTPUT_SPARQLENDPOINT', true);
32define( 'RDFA_DEBUGOUTPUT_SPARQLQUERY', true);
33
34?>
Note: See TracBrowser for help on using the repository browser.