Mercurial > hg > syntilista
comparison slbackup.php @ 143:3b904b49ce57
Check for missing configuration file for slbackup.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 24 Aug 2017 16:31:19 +0300 |
parents | 36c9cb759326 |
children | d2905ee5ff9c |
comparison
equal
deleted
inserted
replaced
142:36c9cb759326 | 143:3b904b49ce57 |
---|---|
18 $dataBackups = 24; | 18 $dataBackups = 24; |
19 $configFile = "slbackup.cfg"; | 19 $configFile = "slbackup.cfg"; |
20 | 20 |
21 if (file_exists($configFile)) | 21 if (file_exists($configFile)) |
22 require_once $configFile; | 22 require_once $configFile; |
23 else | |
24 { | |
25 error_log("SyntilistaBackup: Configuration file '".$configFile."' does not exist!"); | |
26 exit; | |
27 } | |
23 | 28 |
24 | 29 |
25 // | 30 // |
26 // Helper functions | 31 // Helper functions |
27 // | 32 // |