forked from Wavyzz/dolibarr
SEC: Possible RCE when php module json off. +Warning in security page.
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
* \remarks To run this script as CLI: phpunit filename.php
|
||||
*/
|
||||
|
||||
define('PHPUNIT_MODE', 1);
|
||||
|
||||
global $conf,$user,$langs,$db;
|
||||
//define('TEST_DB_FORCE_TYPE','mysql'); // This is to force using mysql driver
|
||||
//require_once 'PHPUnit/Autoload.php';
|
||||
|
||||
Reference in New Issue
Block a user