From: donal Date: Fri, 15 Feb 2008 08:10:50 +0000 (+0000) Subject: Write to the log when the SSL key is created X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=309eb04025962e77ec411e52da4bc9c2af99dcf4;p=moodle.git Write to the log when the SSL key is created --- diff --git a/mnet/environment.php b/mnet/environment.php index ebdce1ba68..bef22304c6 100644 --- a/mnet/environment.php +++ b/mnet/environment.php @@ -157,6 +157,7 @@ class mnet_environment { set_config('openssl', implode('@@@@@@@@', $this->keypair), 'mnet'); update_record('mnet_host', $this); + error_log('New public key has been generated. It expires ' . date('Y/m/d h:i:s', $this->public_key_expires)); } function get_private_key() {