HOW TO upgrade Calendar in ApPHP AdminPanel?

Talk and info about common issues and learn how to do almost anything with ApPHP AdminPanel

Moderators: ne_moj, zewa, vadimako, ne_moj, zewa, vadimako

Site Admin
Site Admin
Posts: 5988
Joined: Jan 7th, '09, 23:18

HOW TO upgrade Calendar in ApPHP AdminPanel?

Postby administrator » Jan 31st, '13, 12:55

Upgrading of Calendar component is a very simple procedure.
To perform it do following:

1. Unzip the new version of calendar.

2. Replace the content of the directory called modules/calendar/ with the content of new version of Calendar script.

3. Open modules/calendar/inc/connection.php file and comment there following line of code:

Code: Select all


4. Open modules/calendar/ajax/handler.ajax.php and add at the top of the file (above the line require_once('../inc/');)

Code: Select all



define('DB_CONNECTION_MODE', 'production');   
define('DB_PREFIX', _DB_PREFIX);

$config = new Config();
define('DATABASE_HOST', $config->getHost());
define('DATABASE_NAME', $config->getDatabase());
define('DATABASE_USERNAME', $config->getUser());
define('DATABASE_PASSWORD', $config->getPassword());

Return to “ApPHP AdminPanel {HOW TO}”