Customization example
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@859 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
c02bd441ca
commit
70b72075ca
24
examples/editor-cds/index.php
Normal file
24
examples/editor-cds/index.php
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
// try to compile current version
|
||||
$_SERVER["argv"] = array("", "editor");
|
||||
ob_start();
|
||||
include "../../compile.php";
|
||||
ob_end_clean();
|
||||
|
||||
class Adminer {
|
||||
|
||||
function name() {
|
||||
return 'CDs';
|
||||
}
|
||||
|
||||
function credentials() {
|
||||
return array('localhost', 'ODBC', '');
|
||||
}
|
||||
|
||||
function database() {
|
||||
return 'cds';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
include "./editor.php";
|
Loading…
Reference in a new issue