LuxCal Forum

The place for questions, suggestions and news about the LuxCal Event Calendar

User:   Password:   Remember Me?   
LuxCal Forum / General / Support / Setup for Variable $calID
Posted:  11 Oct 2013 05:42
I try to change the table name in MySQL and next, I must to change the dbQuery function in common/toolbox.php. When I try to change that function, I found global $calID in line 179.
Can somebody help me how to setup that variable? I'm stuck in this problem.
Posted:  11 Oct 2013 22:13
Hi Antontyo,

The global $calID on line 179 of the file common/toolbox.php is set in the file index.php (in the calendar root folder).
It contains the prefix of the MySQL database tables of the currently selected calendar. If there is only one calendar, it's normally "mycal".