Update to 1.51

With version 1.51 some important things have changed.

This page describes how to update your current HLStats installation to this version. Please read first and then do. Also make a backup if your current HLStats installation.

The [todo] tag tells you that you have to do something
The [info] tag describes information which can be usefull if you know it.

[info] Changed folder structure

Here is the explanation what this is all about:

[info] PHP MySQL functions used.

The old db class has been removed and replaced by standard mysql functions build in PHP.
Since MySQL was the only supported DB type, using a class is useless.

[info] Dropped web installer

The web installer has been dropped. No discussion needed.

Therefore the configuration will work this way:

For the tow configuration files, there is a *.example file which can be copied without the example in the filename.

hlstats.conf.ini.example -> hlstats.conf.ini
hlstats.conf.example.php -> hlstats.conf.php

Renaming those file will enable those in the system.

[todo] Changed requirements

You need the  Config-Tiny Module for Perl now.

[todo] Changed configuration file for the daemon (hlstats.pl)

Move to the daemon folder (or if you have seperated the daemon to another location, to this location)
The hlstats.conf file has been now renamed and uses the ini syntax.
Backup your current hlstats.conf file (eg. rename it)

cp hlstats.conf.ini.example to hlstats.conf.ini

Please not just rename it. It is much safer to have the default file available, if you accidently foobar the configuration.

Go through the new hlstats.conf.ini file and alter the settings.

[todo] Renamed hlstats.conf.ini.php file

The configuration file for the web part has been renamed:

hlstatsinc/hlstats.conf.inc.php -> hlstatsinc/hlstast.conf.php

The syntax is the same. You can just rename your current configuration file.