$this->footerScripts[] = trim($url, '/');
}
- public $process_id;
public $queue;
private $scheme;
private $hostname;
$this->loadDefaultTimezone();
Core\L10n::init();
-
- $this->process_id = Core\System::processID('log');
}
/**
}
}
- /**
- * Generates a process identifier for the logging
- *
- * @param string $prefix A given prefix
- *
- * @return string a generated process identifier
- */
- public static function processID($prefix)
- {
- // We aren't calling any other function here.
- // Doing so could easily create an endless loop
- $trailer = $prefix . ':' . getmypid() . ':';
- return substr($trailer . uniqid('') . mt_rand(), 0, 26);
- }
-
/**
* Returns the current Load of the System
*