/install/installer/checks.php

Description

Pre- and post-install checks of the setup

  • todo: rewrite installer test suite as objects All tests in the test suite should report their outcome in a consistent manner, making it easy for humans or computer programs to understand and to process them. The following test states, defined by EARL (the Evaluation And Report Language), have proved useful:
    • cannotTell
    • fail
    • notApplicable
    • notTested
    • pass
  • filesource: Source Code for this file
  • version: $Id$
  • license: GNU Public License
  • copyright: Copyright Stuart Prescott
  • author: Stuart Prescott
Functions
check_postinst (line 146)

Check installation to see if required and optional components are installed.

post-inst auto-test of db, environment, auth modules etc. post-inst test that .ini files are protected by .htaccess check that admin can log in ok using auth.php

void check_postinst ( $data)
  • $data
check_preinst (line 28)

Check installation to see if required and optional components are installed.

Also check to see if entered data is valid

void check_preinst ( $data)
  • $data
parseTests (line 298)

Parse the test results and do some pretty printing of them

  • return: pretty printed results
string parseTests ( $r, array $results)
  • array $results
  • $r
passwordStrength (line 314)

Check the strength of the password

  • return: list(integer (0=ok, 1=warn, 2=err), string description)
array passwordStrength (string $password)
  • string $password

Documentation generated on Tue, 06 Mar 2007 10:01:03 +0000 by phpDocumentor 1.3.0