Subversion Repositories oidplus

Rev

Rev 498 | Rev 801 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
498 daniel-mar 1
<?php
2
 
511 daniel-mar 3
/*
4
 * OIDplus 2.0
5
 * Copyright 2019 - 2021 Daniel Marschall, ViaThinkSoft
6
 *
7
 * Licensed under the Apache License, Version 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
 
498 daniel-mar 20
include __DIR__.'/../includes/oidplus.inc.php';
21
 
22
header('Content-Type:text/plain');
23
 
24
echo "localpath(null,false): ".OIDplus::localpath(null,false)."\n";
25
echo "localpath(null,true): ".OIDplus::localpath(null,true)."\n";
26
echo "localpath(__FILE__,false): ".OIDplus::localpath(__FILE__,false)."\n";
27
echo "localpath(__FILE__,true): ".OIDplus::localpath(__FILE__,true)."\n";
28
echo "localpath(__DIR__,false): ".OIDplus::localpath(__DIR__,false)."\n";
29
echo "localpath(__DIR__,true): ".OIDplus::localpath(__DIR__,true)."\n";
30
 
31
echo "webpath(null,false): ".OIDplus::webpath(null,false)."\n";
32
echo "webpath(null,true): ".OIDplus::webpath(null,true)."\n";
33
echo "webpath(__FILE__,false): ".OIDplus::webpath(__FILE__,false)."\n";
34
echo "webpath(__FILE__,true): ".OIDplus::webpath(__FILE__,true)."\n";
35
echo "webpath(__DIR__,false): ".OIDplus::webpath(__DIR__,false)."\n";
36
echo "webpath(__DIR__,true): ".OIDplus::webpath(__DIR__,true)."\n";