Move the cache to a singleton class

Signed-off-by: emanuele <emanuele45@gmail.com>
Documentation and few fixes

Signed-off-by: emanuele <emanuele45@gmail.com>
Do not use Load.php to invalidate the cache, but CACHEDIR/index.php, it must be there and it should very well be writable

Signed-off-by: emanuele <emanuele45@gmail.com>
Let's pass stuff to the constructor instead of letting it decide what to do

Signed-off-by: emanuele <emanuele45@gmail.com>
Lett globals in cache

Signed-off-by: emanuele <emanuele45@gmail.com>
Fixing tests

Signed-off-by: emanuele <emanuele45@gmail.com>
Align index.php and SSI.php common parts

Signed-off-by: emanuele <emanuele45@gmail.com>
Convert cache function calls to methods - round 1

Signed-off-by: emanuele <emanuele45@gmail.com>
Use separated classes for caching methods

Signed-off-by: emanuele <emanuele45@gmail.com>
Documentation of the cache methods and classes + a couple of fixes

Signed-off-by: emanuele <emanuele45@gmail.com>
Add more dirs to the test for syntax errors

Signed-off-by: emanuele <emanuele45@gmail.com>
I may need to register the autoloader for the test forum "installation" too

Signed-off-by: emanuele <emanuele45@gmail.com>
boarddir and sourecdir must stay global in SSI

Signed-off-by: emanuele <emanuele45@gmail.com>
Autoload the detected and usable caching engines in the admin panel

Signed-off-by: emanuele <emanuele45@gmail.com>
Caching classes should add their own settings

Signed-off-by: emanuele <emanuele45@gmail.com>
Add bits of stuff to the "prepare_file" to make it similar to "prepare_db" (they should really be a single thinction I think)

Signed-off-by: emanuele <emanuele45@gmail.com>
And finally make the toggle works with javascript, so that the settings page shows only what is necessary for each engine

Signed-off-by: emanuele <emanuele45@gmail.com>
Removed deprecation notices (too much noise) and some other doc added

Signed-off-by: emanuele <emanuele45@gmail.com>
Simplified the memcache_connect function

Signed-off-by: emanuele <emanuele45@gmail.com>
Some doc and unused code

Signed-off-by: emanuele <emanuele45@gmail.com>