From: <abe...@us...> - 2013-03-11 22:01:24
|
Revision: 5987 http://astlinux.svn.sourceforge.net/astlinux/?rev=5987&view=rev Author: abelbeck Date: 2013-03-11 22:01:15 +0000 (Mon, 11 Mar 2013) Log Message: ----------- web interface, SQL-Data tab, add support for sqlite3 CDR's if '/mnt/kd/cdr-sqlite3/master.db' exists Modified Paths: -------------- branches/1.0/package/webinterface/altweb/admin/phpliteadmin.php Modified: branches/1.0/package/webinterface/altweb/admin/phpliteadmin.php =================================================================== --- branches/1.0/package/webinterface/altweb/admin/phpliteadmin.php 2013-03-11 15:12:51 UTC (rev 5986) +++ branches/1.0/package/webinterface/altweb/admin/phpliteadmin.php 2013-03-11 22:01:15 UTC (rev 5987) @@ -63,6 +63,7 @@ //if the above $directory variable is set to false, you must specify the databases manually in an array as the next variable //if any of the databases do not exist as they are referenced by their path, they will be created automatically +//AstLinux// define database files $databases = array ( array @@ -71,6 +72,10 @@ "name"=> "Asterisk" ) ); +if (is_file('/mnt/kd/cdr-sqlite3/master.db')) { + $databases[] = array( "path"=> "/mnt/kd/cdr-sqlite3/master.db", "name"=> "CDR SQLite3" ); +} +//AstLinux// end of define database files //a list of custom functions that can be applied to columns in the databases //make sure to define every function below if it is not a core PHP function This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |