-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgetphpconfig.php
34 lines (28 loc) · 1.01 KB
/
getphpconfig.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
require_once('config.inc.php');
require_once('functions.inc.php');
//error_log($_SERVER["SCRIPT_NAME"] . " : " . __FILE__ . " : " . __FUNCTION__ . "(" . __LINE__ . ") _REQUEST='" . my_print_r($_REQUEST, true));
// test
if (false)
{
if (checkset($xxx))
{
error_log($_SERVER["SCRIPT_NAME"] . " : " . __FILE__ . " : " . __FUNCTION__ . "(" . __LINE__ . ")xxx is settrue");
}
else
{
error_log($_SERVER["SCRIPT_NAME"] . " : " . __FILE__ . " : " . __FUNCTION__ . "(" . __LINE__ . ")xxx is not set");
}
if (checkset($prindot['hotfix']['imagemagick']['colorspace']))
{
error_log($_SERVER["SCRIPT_NAME"] . " : " . __FILE__ . " : " . __FUNCTION__ . "(" . __LINE__ . ")prindot['hotfix']['imagemagick']['colorspace'] is settrue");
}
else
{
error_log($_SERVER["SCRIPT_NAME"] . " : " . __FILE__ . " : " . __FUNCTION__ . "(" . __LINE__ . ")prindot['hotfix']['imagemagick']['colorspace'] is not set");
}
}
echo json_encode($prindot);
//$x = array("a"=>"b");
//echo json_encode($x);
?>