PhpSecInfo_Test_Core_Open_Basedir Class Reference

Inheritance diagram for PhpSecInfo_Test_Core_Open_Basedir:
PhpSecInfo_Test_Core PhpSecInfo_Test

Public Member Functions

 _execTest ()
 _setMessages ()

Data Fields

 $test_name = "open_basedir"
 $_messages

Detailed Description

Definition at line 20 of file open_basedir.php.


Member Function Documentation

_execTest (  ) 

Check to see if the open_basedir setting is enabled.

Reimplemented from PhpSecInfo_Test.

Definition at line 46 of file open_basedir.php.

_setMessages (  ) 

Set the messages specific to this test

Reimplemented from PhpSecInfo_Test.

Definition at line 60 of file open_basedir.php.


Field Documentation

$_messages
Initial value:
 array(
        PHPSECINFO_TEST_RESULT_OK => array(
                    'en' => 'open_basedir is enabled, which is the recommended setting. Keep in mind that other web
                    applications not written in PHP will not be restricted by this setting.',
                    ),
        PHPSECINFO_TEST_RESULT_NOTICE => array(
                    'en' => 'open_basedir is disabled.  When this is enabled, only files that are in the given directory/directories and
                    their subdirectories can be read by PHP scripts.  You should consider turning this on.  Keep in mind that other web
                    applications not written in PHP will not be restricted by this setting.',
                    ),
        )

Reimplemented from PhpSecInfo_Test.

Definition at line 30 of file open_basedir.php.

$test_name = "open_basedir"

Reimplemented from PhpSecInfo_Test.

Definition at line 28 of file open_basedir.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 8 12:28:39 2010 for Claroline API by  doxygen 1.6.3