Demo

Probiere ClanSphere aus und teste daran herum. Demo


Antworten: 3
Seite [1]
uNsLide


Beginner




Beiträge: 6
# Thema - 17.07.2012 um 20:57 Uhr
Hi. Browsing a file system of ClanSphere, exactly a system folder, i've found that there are 5 files, describing modes of caching in the ClanSphere. But by the default, Used Cache Mode is file in ClanSphere.

Is it possible to change cache mode via admin web interface or it must be done in source files? If it must be in source files, then where to replace?
Inaktiv
hajo ClanSphere Team


VIP - Poster




Herkunft: Barsbüttel
Beiträge: 9411
# Antwort: 1 - 17.07.2012 um 21:50 Uhr
it must be changed in setup.php at the main clansphere directory.

the coresponding php extension the cache mode is named like must exist to work, if not a fallback should keep the site running in file mode.

to change the cache mode add a cs_main array entry named cache_mode and set it to the matching driver file name without the .php ending.


------------------
ClanSphere - professional clan care starts here

Inaktiv
|
uNsLide
Thread-Ersteller


Beginner




Beiträge: 6
# Antwort: 2 - 17.07.2012 um 22:25 Uhr
2012-07-17 at 11:50 PM - hajo:
it must be changed in setup.php at the main clansphere directory.


I think the best way will be to replace the value of variable in the original file. It's exactly line 223 or 224 in /system/core/function, after the line
 
1.
1. / 2. / ... 
 require_once 'system/core/cachegen.php';


By the way, could you tell me will you add eAccelerator as cache mode?


Inaktiv
|
hajo ClanSphere Team


VIP - Poster




Herkunft: Barsbüttel
Beiträge: 9411
# Antwort: 3 - 18.07.2012 um 01:55 Uhr
don't change it their, i'd already given you the perfect place to define another cache mode.

eaccelerator has no userland caching and can thereby not be used.


------------------
ClanSphere - professional clan care starts here

Inaktiv
|
Antworten: 3
Seite [1]


Sie müssen sich registrieren, um zu antworten.