Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/CHAOS/Harvester/ChaosHarvester.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function __construct($arguments = array()) {
}

// Load the configuration file.
$this->_configuration = simplexml_load_file($configurationFile, null, null, 'chc', true);
$this->_configuration = simplexml_load_file($configurationFile, null, 0, 'chc', true);
if(!$this->validateConfiguration($this->_configuration)) {
trigger_error("Fatal error: The configuration file given is invalid.");
self::printUsage();
Expand Down Expand Up @@ -359,7 +359,6 @@ protected static function printLogo() {
}

public static function generateGUID() {
mt_srand((double)microtime()*10000); // optional for php 4.2.0 and up.
$charid = strtoupper(md5(uniqid(rand(), true)));
$hyphen = chr(45); // "-"
$uuid = ''
Expand Down