/web/htdocs/www.euroroma.net/home/zenphoto/zp-core/utilities/phpInfo.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
/**
 * Displays the PHP configuration information
 * @author Stephen Billard (sbillard)
 * @package admin
 */

define ('OFFSET_PATH'3);
require_once(
dirname(dirname(__FILE__)).'/admin-globals.php');

$buttonlist[] = array(
                                    
'category'=>gettext('Info'),
                                    
'enable'=>true,
                                    
'button_text'=>gettext('Show PHP Information'),
                                    
'formname'=>'cloneZenphoto',
                                    
'action'=> 'utilities/phpInfo.php',
                                    
'icon'=>'images/info.png',
                                    
'title'=>gettext('Display PHP information.'),
                                    
'alt'=>gettext('PHPInfo'),
                                    
'hidden'=>'',
                                    
'rights'=> ADMIN_RIGHTS
                                    
);

admin_securityChecks(NULLcurrentRelativeURL());

$zenphoto_tabs['overview']['subtabs']=array(gettext('PHP Info')=>'');
printAdminHeader('overview','phpInfo');

?>
</head>
<body>
<?php printLogoAndLinks(); ?>
<div id="main">
<?php printTabs(); ?>
<div id="content">
    <?php printSubtabs(); ?>
    <div class="tabbox">
    <h1><?php echo (gettext('Your PHP configuration information.')); ?></h1>
    <?php zp_apply_filter('admin_note','phpinfo'''); ?>
    <br />
    <br />
    <?php phpinfo(); ?>
    </div>
</div><!-- content -->
</div><!-- main -->
<?php printAdminFooter(); ?>
</body>
</html>
?>