summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-07-10 18:01:17 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-07-10 18:01:17 +0000
commita4529ec07c9c87528662270557f511ce5cd25386 (patch)
tree707cffd13c8b18da3464475f8fcfe0cd510548b2 /usr
parentd424576bcb6b933f30137b85f50e3edc048b5784 (diff)
downloadpfsense-a4529ec07c9c87528662270557f511ce5cd25386.zip
pfsense-a4529ec07c9c87528662270557f511ce5cd25386.tar.gz
Fix file not found errors.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/system_advanced_create_certs.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/local/www/system_advanced_create_certs.php b/usr/local/www/system_advanced_create_certs.php
index 12c1707..1727fc3 100755
--- a/usr/local/www/system_advanced_create_certs.php
+++ b/usr/local/www/system_advanced_create_certs.php
@@ -31,9 +31,11 @@
require("guiconfig.inc");
-$fd = fopen("/var/etc/ssl/openssl.cnf", "r");
-$openssl = fread($fd,8096);
-fclose($fd);
+if(file_exists("/var/etc/ssl/openssl.cnf")) {
+ $fd = fopen("/var/etc/ssl/openssl.cnf", "r");
+ $openssl = fread($fd,8096);
+ fclose($fd);
+}
/* Lets match the fileds in the read in file and
populate the variables for the form */
OpenPOWER on IntegriCloud