2009-07-20 15:47:12 +00:00
|
|
|
<?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';
|
|
|
|
}
|
|
|
|
|
2009-07-21 12:19:25 +00:00
|
|
|
function login($login, $password) {
|
|
|
|
return ($login == 'admin');
|
|
|
|
}
|
|
|
|
|
2009-07-20 15:47:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
include "./editor.php";
|