phpDocumentor Testlink
[ class tree: Testlink ] [ index: Testlink ] [ all elements ]

Procedural File: configCheck.php

Source Location: /configCheck.php

Page Details

TestLink Open Source Project - http://testlink.sourceforge.net/ This script is distributed under the GNU General Public License 2 or later.

Filename $RCSfile: _configCheck.php.html,v $

Author:  

Martin Havlat

Scope: Check configuration and system Using: Installer, sysinfo.php and Login

Revisions:

20090126 - franciscom - check_php_extensions() refactoring 20090109 - havlatm - import checking functions from Installer 20081122 - franciscom - checkForExtensions() - added check of needed extensions to use pChart 20081015 - franciscom - getSecurityNotes() - refactoring

Version:  $Revision: 1.1.2.1 $
Includes
require_once ('plan.core.inc.php') [line 25]
Information Tags:
TODO:  martin: remove this include (obsolete)
[ Top ]


Functions
checkConfiguration  [line 92]

void checkConfiguration( )

check if we need to run the install program



[ Top ]
checkEmailConfig  [line 468]

void checkEmailConfig( )


[ Top ]
checkForAdminDefaultPwd  [line 172]

bool checkForAdminDefaultPwd( &$db  )

checks if the default password for the admin accout is still set

Parameters:
   &$db: 

API Tags:
Return:  returns true if the default password for the admin account is set, false else

Information Tags:
Author:  Andreas Morsing
Version:  1.0

[ Top ]
checkForBTSConnection  [line 316]

bool checkForBTSConnection( )

checks if the connection to the Bug Tracking System database is working


API Tags:
Return:  returns true if ok false else

Information Tags:
Author:  franciscom
Version:  1.0

[ Top ]
checkForExtensions  [line 129]

bool checkForExtensions( array &$msg  )

checks if needed functions and extensions are defined

Parameters:
array   &$msg:  [ref] msgs will be appended

API Tags:
Return:  returns true if all extension or functions ar present or defined

Information Tags:
Author:  

Andreas Morsing

rev: 20081122 - franciscom - added gd2 check


[ Top ]
checkForInstallDir  [line 152]

bool checkForInstallDir( )

checks if the install dir is present


API Tags:
Return:  returns true if the install dir is present, false else

Information Tags:
Author:  Andreas Morsing
Version:  1.0

[ Top ]
checkForLDAPExtension  [line 190]

void checkForLDAPExtension( )


[ Top ]
checkForRepositoryDir  [line 332]

void checkForRepositoryDir( $the_dir  )
Parameters:
   $the_dir: 


[ Top ]
checkForTestPlansWithoutTestProjects  [line 447]

msg checkForTestPlansWithoutTestProjects( &$db  )

checks if the install dir is present

Parameters:
   &$db: 

API Tags:
Return:  returns if there are any test plans without a test project

Information Tags:
Author:  Asiel Brumfield
Version:  1.0

[ Top ]
checkInstallStatus  [line 109]

boolean checkInstallStatus( )

check if TL is installed


API Tags:
Return:  true = installed


[ Top ]
checkSchemaVersion  [line 398]

void checkSchemaVersion( &$db  )
Parameters:
   &$db: 


[ Top ]
checkServerLanguageSettings  [line 73]

void checkServerLanguageSettings( $defaultLanguage  )

check language acceptance by web client

Parameters:
   $defaultLanguage: 


[ Top ]
check_dir_permissions  [line 791]

string check_dir_permissions( integer &$errCounter  )

Check read/write permissions for directories

based on check_with_feedback($dirs_to_check);

Parameters:
integer   &$errCounter:  pointer to error counter

API Tags:
Return:  html row with result


[ Top ]
check_file_permissions  [line 715]

string check_file_permissions( integer &$errCounter, $inst_type, $checked_filename, [ $bCritical = FALSE]  )

verify that files are writable/readable

OK result is for state: a) installation - writable b) installed - readable

Parameters:
integer   &$errCounter:  pointer to error counter
   $inst_type: 
   $checked_filename: 
   $bCritical: 

API Tags:
Return:  html row with result


[ Top ]
check_os  [line 642]

string check_os( )

Display OS


API Tags:
Return:  html table row


[ Top ]
check_php_extensions  [line 530]

string check_php_extensions( integer &$errCounter  )

check php extensions

Parameters:
integer   &$errCounter:  pointer to error counter

API Tags:
Return:  html table rows

Information Tags:
Todo:  martin: Do we require "Checking DOM XML support"? It seems that we use internal library. if (function_exists('domxml_open_file'))

[ Top ]
check_php_settings  [line 491]

string check_php_settings( integer &$errCounter  )

checking register global = OFF (doesn't cause error')

Parameters:
integer   &$errCounter:  pointer to error counter

API Tags:
Return:  html table row


[ Top ]
check_php_version  [line 676]

string check_php_version( integer &$errCounter  )

check minimal required PHP version

Parameters:
integer   &$errCounter:  pointer to error counter

API Tags:
Return:  html row with result


[ Top ]
check_session  [line 585]

string check_session( integer &$errCounter  )

Check if web server support session data

Parameters:
integer   &$errCounter:  pointer to error counter

API Tags:
Return:  html row with result


[ Top ]
check_timeout  [line 612]

string check_timeout( integer &$errCounter  )

check PHP defined timeout

Parameters:
integer   &$errCounter:  pointer to error counter

API Tags:
Return:  html row with result


[ Top ]
getSecurityNotes  [line 209]

array getSecurityNotes( &$db  )

builds the security notes while checking some security issues these notes should be displayed!

Parameters:
   &$db: 

API Tags:
Return:  returns the security issues, or null if none found!

Information Tags:
Author:  

Andreas Morsing

rev : 20081015 - franciscom - LDAP checks refactored 20080925 - franciscom - added option to not show results 20070626 - franciscom - added LDAP checks

Version:  1.0

[ Top ]
get_home_url  [line 32]

string get_home_url( )

get home url.


API Tags:
Return:  URL

Information Tags:
Author:  adapted from Mantis Bugtracking system

[ Top ]
reportCheckingPermissions  [line 862]

void reportCheckingPermissions( integer &$errCounter, [string $inst_type = 'none']  )

print table with system checking results

Parameters:
integer   &$errCounter:  pointer to error counter
string   $inst_type:  inst_type: useful when this function is used on installer


[ Top ]
reportCheckingSystem  [line 833]

void reportCheckingSystem( integer &$errCounter  )

print table with system checking results

Parameters:
integer   &$errCounter:  pointer to error counter


[ Top ]
reportCheckingWeb  [line 846]

void reportCheckingWeb( integer &$errCounter  )

print table with system checking results

Parameters:
integer   &$errCounter:  pointer to error counter


[ Top ]


Documentation generated on Fri, 03 Apr 2009 14:13:46 +0200 by phpDocumentor 1.4.1