Project

General

Profile

Feature #7449 » php_patch.txt

Geco-it Staff, 04/05/2017 10:15 AM

 
1
        
2
        // please add me to /usr/local/pkg/openvpn-client-export.inc
3
        // after "write configuration file" block 
4
        // line 610
5
        //Geco network drive mod
6
        
7
        $geco_filestream = file_get_contents("/usr/local/share/openvpn/client-export/template/geco-template-up.bat");
8
        file_put_contents("{$confdir}/{$prefix}-config_up.bat", $geco_filestream);
9
         
10
        $geco_filestream = file_get_contents("/usr/local/share/openvpn/client-export/template/geco-template-down.bat");
11
        file_put_contents("{$confdir}/{$prefix}-config_down.bat", $geco_filestream);
12
        
13
        $geco_filestream = file_get_contents("/usr/local/share/openvpn/client-export/template/sleep.vbs");
14
        file_put_contents("{$confdir}/sleep.vbs", $geco_filestream);
15
 
(2-2/2)