Skip to content

Commit

Permalink
Customization example
Browse files Browse the repository at this point in the history
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@859 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information
jakubvrana committed Jul 20, 2009
1 parent c02bd44 commit 70b7207
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions examples/editor-cds/index.php
@@ -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";

0 comments on commit 70b7207

Please sign in to comment.