$modversion['onInstall'] = 'installscript.php';
<?php
function xoops_module_install_il(&$module)
{
global $msgs;
$msgs[] = "Install Script has been called!";
}
?>
http://195.188.168.14/~admin/x2/html/modules/il/sql/mysql.sql
SQL file found at /Users/admin/Sites/x2/html/modules/il/sql/mysql.sql.
Creating tables...
Module data inserted successfully. Module ID: 15
$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
//$modversion['sqlfile']['postgresql'] = "sql/pgsql.sql";
// Tables created by sql file (without prefix!)
$modversion['tables'][0] = "IL_albums";
$modversion['tables'][1] = "IL_categories";
$modversion['tables'][2] = "IL_photo_categories";
$modversion['tables'][3] = "IL_comments";
$modversion['tables'][4] = "IL_photos";
$modversion['tables'][7] = "IL_rating";