-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move config to seperate file, allow local override of github/cache
- Loading branch information
Showing
3 changed files
with
29 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ data/*.json | |
data/*.xml | ||
data/*.ttl | ||
.DS_Store | ||
import.php | ||
import.php | ||
config/config.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
/** | ||
* Main config file for digital strategy report generator | ||
* Copy this file to config.php and edit as needed for your installation | ||
*/ | ||
|
||
//base dir for includes, leave at default for same directory as this file` | ||
define( 'DGS_BASE_DIR', dirname( __FILE__ ) ); | ||
|
||
//directory where reports will reside afer generation, FALSE to delete after sending to user | ||
define( 'DGS_REPORT_DIR', FALSE ); | ||
|
||
//base url for schema, change to false to use local information only | ||
define( 'DGS_SCHEMA_BASE', 'https://raw.github.com/GSA/digital-strategy/1/' ); | ||
|
||
//TTL of disk / in-memory cache ( default is 1 hour ) | ||
define( 'DGS_TTL', 3600 ); | ||
|
||
//that's it! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters