'password/smtp' => $this->make_hook('smtppass', AUTH_MDP),
'recovery' => $this->make_hook('recovery', AUTH_PUBLIC),
'exit' => $this->make_hook('exit', AUTH_PUBLIC),
'password/smtp' => $this->make_hook('smtppass', AUTH_MDP),
'recovery' => $this->make_hook('recovery', AUTH_PUBLIC),
'exit' => $this->make_hook('exit', AUTH_PUBLIC),
// happenings related thingies
'rss' => $this->make_hook('rss', AUTH_PUBLIC),
// happenings related thingies
'rss' => $this->make_hook('rss', AUTH_PUBLIC),
- $data = file_get_contents('/etc/ssl/xorgCA/cacert.pem');
- header('Content-Type: application/x-x509-ca-cert');
- header('Content-Length: '.strlen($data));
+ $data = file_get_contents("/etc/ssl/xorgCA/cacert.pem","r");
+ header("Pragma:");
+ header("Set-Cookie:");
+ header("Cache-Control:");
+ header("Expires:");
+ header("Content-Type: application/x-x509-ca-cert");
+ header("Content-Length: ".strlen($data));
$logger->log('recovery', $emails);
} else {
$page->trig('Pas de résultat correspondant aux champs entrés dans notre base de données.');
$logger->log('recovery', $emails);
} else {
$page->trig('Pas de résultat correspondant aux champs entrés dans notre base de données.');
XDB::query('UPDATE auth_user_md5 SET password={?}
WHERE user_id={?} AND perms IN("admin","user")',
$password, $uid);
XDB::query('UPDATE auth_user_md5 SET password={?}
WHERE user_id={?} AND perms IN("admin","user")',
$password, $uid);