mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use file_get_contents()
This commit is contained in:
parent
9a706a57ba
commit
df367a38e3
@ -31,11 +31,8 @@
|
||||
|
||||
require("guiconfig.inc");
|
||||
|
||||
if(file_exists("/var/etc/ssl/openssl.cnf")) {
|
||||
$fd = fopen("/var/etc/ssl/openssl.cnf", "r");
|
||||
$openssl = fread($fd,8096);
|
||||
fclose($fd);
|
||||
}
|
||||
if(file_exists("/var/etc/ssl/openssl.cnf"))
|
||||
$openssl = file_get_contents("/var/etc/ssl/openssl.cnf");
|
||||
|
||||
/* Lets match the fileds in the read in file and
|
||||
populate the variables for the form */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user