Permalink
Browse files

Customization example

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@859 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
jakubvrana
jakubvrana committed Jul 20, 2009
1 parent c02bd44 commit 70b72075ca6c40b3095caf13ccf47c3736f606e6
Showing with 24 additions and 0 deletions.
  1. +24 −0 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.