Hello
I currently have a error-system like this on my header.php:
include('class.error.php');
Errsys::disable_default();
Errsys::enable_logging('errors.dat');
So, I'm not creating a new object via $asd = new Errsys;
. How to add a variable to class, so it can be called like Errsys::variable
or via any similar syntax inside or outside the class?
Hope you understood.
Martti Laine