From: Andreas Gohr <a.gohr@we...> - 2003-09-21 12:39:02
I just added a new function called 'errorpage' to functions.php. It
displays an errorpage and exits the application. It should be used instead
of die() or exit() statements.
I added a hidden config option named 'dbversion' to the config table. This
option is only set in the createtables.sql and updatedb.sql script (at the
very end). Another option named 'dbneeded' was added to config.inc.php. By
comparing both versionnumbers I can see if the tablestructure fits the
needs of the VideoDB and displaying an error if not...
The numbers have to be increased in all three files on every change to the