@@ -37,6 +37,9 @@ discard block |
||
| 37 | 37 | die(); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | +/** |
|
| 41 | + * @param string $msg |
|
| 42 | + */ |
|
| 40 | 43 | function user_log($msg) |
| 41 | 44 | { |
| 42 | 45 | $log = $msg . PHP_EOL; |
@@ -51,6 +54,9 @@ discard block |
||
| 51 | 54 | return (isset($matches[0])) ? true : false; |
| 52 | 55 | } |
| 53 | 56 | |
| 57 | +/** |
|
| 58 | + * @param string $property |
|
| 59 | + */ |
|
| 54 | 60 | function configPropertyExists($config, $property) |
| 55 | 61 | { |
| 56 | 62 | if(!array_key_exists($property, $config) || !isset($config[$property]) || $config[$property] == '' || $config[$property] == 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx') |