diff -Naur asterisk-meetme_v1/conf_control.php asterisk-meetme_v1.oden/conf_control.php --- asterisk-meetme_v1/conf_control.php 2004-03-30 15:36:47.000000000 +0200 +++ asterisk-meetme_v1.oden/conf_control.php 2006-02-09 17:29:05.000000000 +0100 @@ -1,5 +1,5 @@ <? -include ("./lib/defines.php"); +include ("/etc/freepbx/meetme.php"); include ("./lib/Class.Table.php"); getpost_ifset(array('confno')); diff -Naur asterisk-meetme_v1/lib/defines.php asterisk-meetme_v1.oden/lib/defines.php --- asterisk-meetme_v1/lib/defines.php 2004-04-07 13:04:31.000000000 +0200 +++ asterisk-meetme_v1.oden/lib/defines.php 2006-02-09 17:29:36.000000000 +0100 @@ -1,32 +1,32 @@ <?php -define ("WEBROOT", "http://yourhost/asterisk-meetme/"); -define ("FSROOT", "/home/user/yourhost/asterisk-meetme/"); +define ("WEBROOT", "freepbx/meetme/"); +define ("FSROOT", "/var/www/freepbx/meetme/"); define ("LIBDIR", FSROOT."lib/"); define ("HOST", "localhost"); -define ("PORT", "5432"); -define ("USER", "username"); -define ("PASS", "mypassword"); +define ("PORT", "3306"); +define ("USER", "asterisk"); +define ("PASS", "password"); define ("DBNAME", "meetme"); -define ("DB_TYPE", "postgres"); // mysql or postgres +define ("DB_TYPE", "mysql"); // mysql or postgres define ("DB_TABLENAME", "meetme_user"); -$icons_list['0'] = "./images/icons/Darth Vader.GIF"; -$icons_list['1'] = "./images/icons/Anakin.GIF"; -$icons_list['2'] = "./images/icons/Scout Trooper.GIF"; -$icons_list['3'] = "./images/icons/Hoth Soldier.GIF"; -$icons_list['4'] = "./images/icons/Major Matt Mason.GIF"; -$icons_list['5'] = "./images/icons/Landspeeder Ben.GIF"; -$icons_list['6'] = "./images/icons/Obi Wan With Hood.GIF"; -$icons_list['7'] = "./images/icons/Wedge.GIF"; -$icons_list['8'] = "./images/icons/Rebel Tech.GIF"; -$icons_list['9'] = "./images/icons/Larry the Lobster.GIF"; +$icons_list['0'] = "./images/icons/darth_vader.gif"; +$icons_list['1'] = "./images/icons/anakin.gif"; +$icons_list['2'] = "./images/icons/scout_trooper.gif"; +$icons_list['3'] = "./images/icons/hoth_soldier.gif"; +$icons_list['4'] = "./images/icons/major_matt_mason.gif"; +$icons_list['5'] = "./images/icons/landspeeder_ben.gif"; +$icons_list['6'] = "./images/icons/obi_wan_with_hood.gif"; +$icons_list['7'] = "./images/icons/wedge.gif"; +$icons_list['8'] = "./images/icons/rebel_tech.gif"; +$icons_list['9'] = "./images/icons/larry_the_lobster.gif"; include (FSROOT."lib/DB-modules/phplib_".DB_TYPE.".php");