From a37b05dc06d0477f5a234cd80274120b56124154 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Thu, 17 Mar 2005 04:53:48 +0000 Subject: system(touch) -> touch() --- usr/local/www/vpn_openvpn_create_certs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local') diff --git a/usr/local/www/vpn_openvpn_create_certs.php b/usr/local/www/vpn_openvpn_create_certs.php index 73b3cc6..5572c5a 100755 --- a/usr/local/www/vpn_openvpn_create_certs.php +++ b/usr/local/www/vpn_openvpn_create_certs.php @@ -195,7 +195,7 @@ function f(ta_id){ mwexec("rm -rf /tmp/*"); //mwexec("rm -rf /tmp/newcerts"); mkdir("/tmp/newcerts", 0755); - mwexec("touch /tmp/index.txt"); + touch("/tmp/index.txt"); $fd = fopen("/tmp/serial","w"); fwrite($fd, "01\n"); fclose($fd); -- cgit v1.1