diff options
| author | Pim van den Berg | 2009-09-23 21:51:04 +0200 |
|---|---|---|
| committer | Pim van den Berg | 2009-09-23 21:53:55 +0200 |
| commit | d706066e2a20f95bea6d597f077ebebf08990756 (patch) | |
| tree | 5efb3dc09c8d31cd16c6caf96ac0a5a0b4ed90e3 | |
| parent | add GPL license (diff) | |
| download | apt-panopticon_cgp-d706066e2a20f95bea6d597f077ebebf08990756.zip apt-panopticon_cgp-d706066e2a20f95bea6d597f077ebebf08990756.tar.gz apt-panopticon_cgp-d706066e2a20f95bea6d597f077ebebf08990756.tar.bz2 apt-panopticon_cgp-d706066e2a20f95bea6d597f077ebebf08990756.tar.xz | |
include local config if it exists
CPG is designed to run out-of-the box. The local config is optional.
| -rw-r--r-- | conf/config.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/config.php b/conf/config.php index 4fb7aec..16a2d34 100644 --- a/conf/config.php +++ b/conf/config.php | |||
| @@ -14,6 +14,7 @@ $CONFIG['groupby'] = array( | |||
| 14 | 'sensors' => 'type', | 14 | 'sensors' => 'type', |
| 15 | ); | 15 | ); |
| 16 | 16 | ||
| 17 | include 'config.local.php'; | 17 | if (file_exists(dirname(__FILE__).'/config.local.php')) |
| 18 | include 'config.local.php'; | ||
| 18 | 19 | ||
| 19 | ?> | 20 | ?> |
