]> git.joonet.de Git - adminer.git/commitdiff
Customization example
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Mon, 20 Jul 2009 15:47:12 +0000 (15:47 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Mon, 20 Jul 2009 15:47:12 +0000 (15:47 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@859 7c3ca157-0c34-0410-bff1-cbf682f78f5c

examples/editor-cds/index.php [new file with mode: 0644]

diff --git a/examples/editor-cds/index.php b/examples/editor-cds/index.php
new file mode 100644 (file)
index 0000000..72dfd74
--- /dev/null
@@ -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";