Redo directory structure.

* Move all scripts to /bin
* Move configuration to /etc
* Move NewsStats.pm to /lib
* Add new path to NewsStats.pm to all scripts
* Set $HomePath to top level directory
* Move setting of config file name to ReadConf()

Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
Thomas Hochstein 2013-09-03 09:21:55 +02:00
parent 07c0b2589a
commit 2ad99c20bc
7 changed files with 33 additions and 24 deletions

19
etc/newsstats.conf.sample Normal file
View file

@ -0,0 +1,19 @@
### database configuration
#
# driver, host, credentials and database
#
DBDriver = mysql
DBHost = localhost
DBUser =
DBPw =
DBDatabase = newsstats
#
# tables
#
DBTableRaw = raw_de
DBTableGrps = groups_de
#DBTableClnts =
#DBTableHosts =
### hierarchy configuration
TLH = de