<?php
function adminer_object() {
class AdminerSoftware extends Adminer {
function name() {
// custom name in title and heading
return 'Software';
}
function permanentLogin() {
// key used for permanent login
return "f8ee948505701abca3021525592e55b5";
}
function credentials() {
// server, username and password for connecting to database
return array('localhost', 'ODBC', '');
}
function database() {
// database name, will be escaped by Adminer
return 'software';
}
function login($login, $password) {
// validate user submitted credentials
return ($login == 'admin' && $password == '');
}
function tableName($tableStatus) {
// tables without comments would return empty string and will be ignored by Adminer
return h($tableStatus["Comment"]);
}
function fieldName($field, $order = 0) {
// only columns with comments will be displayed and only the first five in select
return ($order <= 5 && !preg_match('~_(md5|sha1)$~', $field["field"]) ? h($field["comment"]) : "");
}
}
return new AdminerSoftware;
}
include "./editor.php";
Warning: include(): open_basedir restriction in effect. File(./editor.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/WViv0 on line 46
Warning: include(./editor.php): Failed to open stream: Operation not permitted in /in/WViv0 on line 46
Warning: include(): Failed opening './editor.php' for inclusion (include_path='.:') in /in/WViv0 on line 46
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Warning: include(): open_basedir restriction in effect. File(./editor.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/WViv0 on line 46
Warning: include(./editor.php): Failed to open stream: Operation not permitted in /in/WViv0 on line 46
Warning: include(): Failed opening './editor.php' for inclusion (include_path='.:') in /in/WViv0 on line 46
Output for 8.0.13
Warning: include(./editor.php): Failed to open stream: No such file or directory in /in/WViv0 on line 46
Warning: include(): Failed opening './editor.php' for inclusion (include_path='.:') in /in/WViv0 on line 46
Warning: include(./editor.php): failed to open stream: No such file or directory in /in/WViv0 on line 46
Warning: include(): Failed opening './editor.php' for inclusion (include_path='.:') in /in/WViv0 on line 46
Warning: include(): open_basedir restriction in effect. File(./editor.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/WViv0 on line 46
Warning: include(./editor.php): failed to open stream: Operation not permitted in /in/WViv0 on line 46
Warning: include(): Failed opening './editor.php' for inclusion (include_path='.:') in /in/WViv0 on line 46
Output for 7.1.20, 7.2.6
Warning: include(): open_basedir restriction in effect. File(./editor.php) is not within the allowed path(s): (/tmp:/in) in /in/WViv0 on line 46
Warning: include(./editor.php): failed to open stream: Operation not permitted in /in/WViv0 on line 46
Warning: include(): Failed opening './editor.php' for inclusion (include_path='.:') in /in/WViv0 on line 46