*Added trigger.php minimizes changes in the update.php
*Added function.php with functions for trigger.php
*Added install_db.php so tables get installed automaticly
Only thing you'll have to do:
Open /admin/update.php and here's a long list of modifications to allow it to accept a new file...
Search for:
- Code: Select all
// Files that we accept for upload
$filefields[] = 'CharacterProfiler.lua';
$filefields[] = 'PvPLog.lua';
Add after:
- Code: Select all
$filefields[] = 'Bookworm.lua';
Search for:
- Code: Select all
// If pvp data is there, assign it to $uploadData['PvpLogData']
if( isset($data['PurgeLogData']) )
{
$uploadData['PvpLogData'] = $data;
}
// If CP data is there, assign it to $uploadData['myProfile']
if( isset($data['myProfile']) )
{
$uploadData['myProfile'] = $data['myProfile'];
}
Add after:
- Code: Select all
// If Bookworm data is there, assign it to $uploadData['Bookworm']
if( isset($data['BookwormBooks']) )
{
$uploadData['BookwormBooks'] = $data['BookwormBooks'];
}
If it's ok by Sahasrahla i will upload my modifications here, together with the modified update.php
Grtz