diff options
author | Yorhel <git@yorhel.nl> | 2019-09-12 17:07:46 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-09-12 17:54:50 +0200 |
commit | adc906096f4644788b970e5ed936ca3e70bde2e8 (patch) | |
tree | 8d2aacf12b008820a5a331e648f915a67987cdfb /data/config3_example.pl | |
parent | 752bc1724968a1f15b17ba9e607f2163997b4efa (diff) |
Add VNDB::Config module and unified conf.pl config file
This gets rid of global.pl, config.pl and config3.pl and uses the
cleaner config3.pl format for the config file. The config is easily
accessible from anywhere by importing the new VNDB::Config module; The
global $VNDB::S,O,M,ROOT variables have been removed.
Sorry for all the churn...
Diffstat (limited to 'data/config3_example.pl')
-rw-r--r-- | data/config3_example.pl | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/data/config3_example.pl b/data/config3_example.pl deleted file mode 100644 index d640df5f..00000000 --- a/data/config3_example.pl +++ /dev/null @@ -1,26 +0,0 @@ -{ - # Canonical URL of this site - url => 'http://localhost:3000', - # And of the static files (may be the same as the above url) - url_static => 'http://localhost:3000', - - # TUWF configuration options, see the TUWF::set() documentation for options. - tuwf => { - db_login => [ 'dbi:Pg:dbname=vndb', 'vndb_site', 'vndb_site' ], - xml_pretty => 0, - log_queries => 0, - debug => 1, - cookie_defaults => { domain => 'localhost', path => '/' }, - mail_sendmail => 'log', - }, - - # Configuration of the authentication module (VNDB::Auth) - auth => { - csrf_key => '<some unique string>', - scrypt_salt => '<another unique string>', - }, - - # Uncomment if you want to test password strength against a dictionary. See - # lib/PWLookup.pm for instructions on how to create the database file. - #password_db => 'data/passwords.dat', -} |