Subversion Repositories ggsysinfo

[/] [modules/] [sysinfo/] [systemstatus.php] - Blame information for rev 123

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1 gg
<?php
2
/**
3 123 gg
 * Tests status of eZ Publish install in more detail than ezinfo/isalive
4 9 gg
 * For every test, 1 = OK, 0 = KO and X = NA. ? = test not yet implemented
5
 * NB: some tests are enabled/disabled depending upon config in sysinfo.ini
6
 *
7
 * @author G. Giunta
8 1 gg
 * @version $Id: systemstatus.php 123 2012-03-26 23:08:23Z gg $
9 18 gg
 * @copyright (C) G. Giunta 2008-2010
10 1 gg
 * @license Licensed under GNU General Public License v2.0. See file license.txt
11
*/
12
 
13 7 gg
$format = $Params['output_format'];
14
 
15 1 gg
$testslist = sysInfoTools::runtests();
16
 
17 7 gg
if ( $format == 'plaintext' )
18
{
19
    var_export( $testslist );
20
    eZExecution::cleanExit();
21
}
22
else
23
{
24
    $tpl->setVariable( 'testslist', $testslist );
25
}
26 1 gg
?>