Version Description
- Improve security
Download this release
Release Info
Developer | arisoft |
Plugin | ARI Adminer – WordPress Database Manager |
Version | 1.2.0 |
Comparing to | |
See all releases |
Code changes from version 1.1.14 to 1.2.0
- adminer/adminer/adminer/call.inc.php +3 -1
- adminer/adminer/adminer/create.inc.php +3 -1
- adminer/adminer/adminer/database.inc.php +3 -1
- adminer/adminer/adminer/db.inc.php +3 -1
- adminer/adminer/adminer/designs.php +3 -1
- adminer/adminer/adminer/download.inc.php +3 -1
- adminer/adminer/adminer/drivers/clickhouse.inc.php +3 -1
- adminer/adminer/adminer/drivers/elastic.inc.php +3 -1
- adminer/adminer/adminer/drivers/firebird.inc.php +3 -1
- adminer/adminer/adminer/drivers/mongo.inc.php +3 -1
- adminer/adminer/adminer/drivers/mssql.inc.php +3 -1
- adminer/adminer/adminer/drivers/mysql.inc.php +3 -1
- adminer/adminer/adminer/drivers/oracle.inc.php +3 -1
- adminer/adminer/adminer/drivers/pgsql.inc.php +3 -1
- adminer/adminer/adminer/drivers/simpledb.inc.php +3 -1
- adminer/adminer/adminer/drivers/sqlite.inc.php +3 -1
- adminer/adminer/adminer/dump.inc.php +3 -1
- adminer/adminer/adminer/edit.inc.php +3 -1
- adminer/adminer/adminer/event.inc.php +3 -1
- adminer/adminer/adminer/file.inc.php +3 -1
- adminer/adminer/adminer/foreign.inc.php +3 -1
- adminer/adminer/adminer/include/adminer.inc.php +3 -1
- adminer/adminer/adminer/include/auth.inc.php +3 -1
- adminer/adminer/adminer/include/bootstrap.inc.php +3 -1
- adminer/adminer/adminer/include/connect.inc.php +3 -1
- adminer/adminer/adminer/include/coverage.inc.php +3 -1
- adminer/adminer/adminer/include/design.inc.php +3 -1
- adminer/adminer/adminer/include/driver.inc.php +3 -1
- adminer/adminer/adminer/include/editing.inc.php +3 -1
- adminer/adminer/adminer/include/functions.inc.php +3 -1
- adminer/adminer/adminer/include/lang.inc.php +3 -1
- adminer/adminer/adminer/include/pdo.inc.php +3 -1
- adminer/adminer/adminer/include/tmpfile.inc.php +3 -1
- adminer/adminer/adminer/include/version.inc.php +3 -1
- adminer/adminer/adminer/include/xxtea.inc.php +3 -1
- adminer/adminer/adminer/index.php +3 -1
- adminer/adminer/adminer/indexes.inc.php +3 -1
- adminer/adminer/adminer/lang/ar.inc.php +3 -1
- adminer/adminer/adminer/lang/bg.inc.php +3 -1
- adminer/adminer/adminer/lang/bn.inc.php +3 -1
- adminer/adminer/adminer/lang/bs.inc.php +3 -1
- adminer/adminer/adminer/lang/ca.inc.php +3 -1
- adminer/adminer/adminer/lang/cs.inc.php +3 -1
- adminer/adminer/adminer/lang/da.inc.php +3 -1
- adminer/adminer/adminer/lang/de.inc.php +3 -1
- adminer/adminer/adminer/lang/el.inc.php +3 -1
- adminer/adminer/adminer/lang/en.inc.php +3 -1
- adminer/adminer/adminer/lang/es.inc.php +3 -1
- adminer/adminer/adminer/lang/et.inc.php +3 -1
- adminer/adminer/adminer/lang/fa.inc.php +3 -1
- adminer/adminer/adminer/lang/fi.inc.php +3 -1
- adminer/adminer/adminer/lang/fr.inc.php +3 -1
- adminer/adminer/adminer/lang/gl.inc.php +3 -1
- adminer/adminer/adminer/lang/he.inc.php +3 -1
- adminer/adminer/adminer/lang/hu.inc.php +3 -1
- adminer/adminer/adminer/lang/id.inc.php +3 -1
- adminer/adminer/adminer/lang/it.inc.php +3 -1
- adminer/adminer/adminer/lang/ja.inc.php +3 -1
- adminer/adminer/adminer/lang/ka.inc.php +3 -1
- adminer/adminer/adminer/lang/ko.inc.php +3 -1
- adminer/adminer/adminer/lang/lt.inc.php +3 -1
- adminer/adminer/adminer/lang/ms.inc.php +3 -1
- adminer/adminer/adminer/lang/nl.inc.php +3 -1
- adminer/adminer/adminer/lang/no.inc.php +3 -1
- adminer/adminer/adminer/lang/pl.inc.php +3 -1
- adminer/adminer/adminer/lang/pt-br.inc.php +3 -1
- adminer/adminer/adminer/lang/pt.inc.php +3 -1
- adminer/adminer/adminer/lang/ro.inc.php +3 -1
- adminer/adminer/adminer/lang/ru.inc.php +3 -1
- adminer/adminer/adminer/lang/sk.inc.php +3 -1
- adminer/adminer/adminer/lang/sl.inc.php +3 -1
- adminer/adminer/adminer/lang/sr.inc.php +3 -1
- adminer/adminer/adminer/lang/ta.inc.php +3 -1
- adminer/adminer/adminer/lang/th.inc.php +3 -1
- adminer/adminer/adminer/lang/tr.inc.php +3 -1
- adminer/adminer/adminer/lang/uk.inc.php +3 -1
- adminer/adminer/adminer/lang/vi.inc.php +3 -1
- adminer/adminer/adminer/lang/xx.inc.php +3 -1
- adminer/adminer/adminer/lang/zh-tw.inc.php +3 -1
- adminer/adminer/adminer/lang/zh.inc.php +3 -1
- adminer/adminer/adminer/plugin.php +3 -1
- adminer/adminer/adminer/privileges.inc.php +3 -1
- adminer/adminer/adminer/procedure.inc.php +3 -1
- adminer/adminer/adminer/processlist.inc.php +3 -1
- adminer/adminer/adminer/schema.inc.php +3 -1
- adminer/adminer/adminer/scheme.inc.php +3 -1
- adminer/adminer/adminer/script.inc.php +3 -1
- adminer/adminer/adminer/select.inc.php +3 -1
- adminer/adminer/adminer/sequence.inc.php +3 -1
- adminer/adminer/adminer/sql.inc.php +3 -1
- adminer/adminer/adminer/sqlite.php +3 -1
- adminer/adminer/adminer/table.inc.php +3 -1
- adminer/adminer/adminer/trigger.inc.php +3 -1
- adminer/adminer/adminer/type.inc.php +3 -1
- adminer/adminer/adminer/user.inc.php +3 -1
- adminer/adminer/adminer/variables.inc.php +3 -1
- adminer/adminer/adminer/view.inc.php +3 -1
- adminer/adminer/editor/db.inc.php +3 -1
- adminer/adminer/editor/include/adminer.inc.php +3 -1
- adminer/adminer/editor/include/connect.inc.php +3 -1
- adminer/adminer/editor/include/editing.inc.php +3 -1
- adminer/adminer/editor/index.php +3 -1
- adminer/adminer/editor/script.inc.php +3 -1
- adminer/adminer/externals/JsShrink/jsShrink.php +3 -1
- adminer/adminer/plugins/database-hide.php +3 -1
- adminer/adminer/plugins/dump-alter.php +3 -1
- adminer/adminer/plugins/dump-bz2.php +3 -1
- adminer/adminer/plugins/dump-date.php +3 -1
- adminer/adminer/plugins/dump-json.php +3 -1
- adminer/adminer/plugins/dump-xml.php +3 -1
- adminer/adminer/plugins/dump-zip.php +3 -1
- adminer/adminer/plugins/edit-foreign.php +3 -1
- adminer/adminer/plugins/enum-option.php +3 -1
- adminer/adminer/plugins/file-upload.php +3 -1
- adminer/adminer/plugins/foreign-system.php +3 -1
- adminer/adminer/plugins/frames.php +3 -1
- adminer/adminer/plugins/json-column.php +3 -1
- adminer/adminer/plugins/plugin.php +3 -1
- adminer/adminer/plugins/slugify.php +3 -1
- adminer/adminer/plugins/tables-filter.php +3 -1
- adminer/adminer/plugins/translation.php +3 -1
- adminer/wrapper.php +7 -0
- ari-adminer.php +1 -1
- includes/class-installer.php +3 -1
- includes/class-plugin.php +3 -1
- includes/controllers/adminer-runner/class-ajax-test.php +3 -1
- includes/controllers/adminer-runner/class-display.php +3 -1
- includes/controllers/adminer-runner/class-run.php +7 -0
- includes/controllers/connections/class-ajax-get-connection.php +3 -1
- includes/controllers/connections/class-ajax-save.php +3 -1
- includes/controllers/connections/class-ajax-test.php +3 -1
- includes/controllers/connections/class-bulk-delete.php +3 -1
- includes/controllers/connections/class-delete.php +3 -1
- includes/controllers/connections/class-display.php +3 -1
- includes/controllers/connections/class-reload.php +3 -1
- includes/controllers/connections/class-reset-default.php +3 -1
- includes/controllers/connections/class-set-default.php +3 -1
- includes/controllers/settings/class-display.php +3 -1
- includes/controls/grid/class-grid.php +3 -1
- includes/defines.php +4 -1
- includes/entities/class-connection.php +3 -1
- includes/helpers/class-bridge.php +37 -0
- includes/helpers/class-crypt.php +3 -1
- includes/helpers/class-helper.php +3 -1
- includes/helpers/class-screen.php +3 -1
- includes/helpers/class-settings.php +3 -1
- includes/models/class-adminer-runner.php +3 -1
- includes/models/class-connection.php +3 -1
- includes/models/class-connections.php +3 -1
- includes/models/class-settings.php +3 -1
- includes/utils/class-config-options.php +4 -0
- includes/utils/class-config.php +3 -1
- includes/utils/class-db-driver.php +3 -1
- includes/utils/dbcheck/class-db-check.php +3 -1
- includes/utils/dbcheck/class-driver-options.php +3 -1
- includes/utils/dbcheck/class-driver.php +3 -1
- includes/utils/dbcheck/drivers/class-mysql.php +3 -1
- includes/utils/dbcheck/drivers/class-pgsql.php +3 -1
- includes/utils/dbcheck/drivers/class-sqlite.php +3 -1
- includes/views/adminer-runner/class-html.php +3 -1
- includes/views/adminer-runner/tmpl/default.php +3 -1
- includes/views/class-base.php +3 -1
- includes/views/connections/class-html.php +3 -1
- includes/views/connections/tmpl/default.php +3 -1
- includes/views/connections/tmpl/toolbar.php +3 -1
- includes/views/settings/class-html.php +3 -1
- includes/views/settings/tmpl/default.php +3 -1
- libraries/arisoft/class-ari-loader.php +3 -1
- libraries/arisoft/core/app/class-installer-options.php +3 -1
- libraries/arisoft/core/app/class-installer.php +3 -1
- libraries/arisoft/core/app/class-plugin-options.php +3 -1
- libraries/arisoft/core/app/class-plugin.php +3 -1
- libraries/arisoft/core/cache/class-lite.php +3 -1
- libraries/arisoft/core/cache/class-persistence.php +3 -1
- libraries/arisoft/core/controllers/class-ajax-options.php +3 -1
- libraries/arisoft/core/controllers/class-ajax.php +3 -1
- libraries/arisoft/core/controllers/class-controller-options.php +3 -1
- libraries/arisoft/core/controllers/class-controller.php +3 -1
- libraries/arisoft/core/controllers/class-display-options.php +3 -1
- libraries/arisoft/core/controllers/class-display.php +3 -1
- libraries/arisoft/core/controls/grid/class-grid-column-options.php +3 -1
- libraries/arisoft/core/controls/grid/class-grid-main-options.php +3 -1
- libraries/arisoft/core/controls/grid/class-grid-options.php +3 -1
- libraries/arisoft/core/controls/grid/class-grid.php +3 -1
- libraries/arisoft/core/controls/grid/tmpl/grid.php +3 -1
- libraries/arisoft/core/controls/grid/tmpl/header.php +3 -1
- libraries/arisoft/core/controls/paging/class-paging-options.php +3 -1
- libraries/arisoft/core/controls/paging/class-paging.php +3 -1
- libraries/arisoft/core/controls/paging/tmpl/paging.php +3 -1
- libraries/arisoft/core/database/class-helper.php +3 -1
- libraries/arisoft/core/entities/class-entity.php +3 -1
- libraries/arisoft/core/models/class-model-options.php +3 -1
- libraries/arisoft/core/models/class-model.php +3 -1
- libraries/arisoft/core/utils/class-array-helper.php +3 -1
- libraries/arisoft/core/utils/class-date.php +3 -1
- libraries/arisoft/core/utils/class-enum.php +3 -1
- libraries/arisoft/core/utils/class-filter.php +3 -1
- libraries/arisoft/core/utils/class-object-factory.php +3 -1
- libraries/arisoft/core/utils/class-object-helper.php +3 -1
- libraries/arisoft/core/utils/class-options.php +3 -1
- libraries/arisoft/core/utils/class-request.php +3 -1
- libraries/arisoft/core/utils/class-response.php +3 -1
- libraries/arisoft/core/utils/class-sort-utils.php +3 -1
- libraries/arisoft/core/utils/class-utils.php +3 -1
- libraries/arisoft/core/views/class-view-options.php +3 -1
- libraries/arisoft/core/views/class-view.php +3 -1
- libraries/arisoft/core/wordpress/class-security.php +3 -1
- libraries/arisoft/loader.php +3 -1
- readme.txt +14 -2
adminer/adminer/adminer/call.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$PROCEDURE = ($_GET["name"] ? $_GET["name"] : $_GET["call"]);
|
3 |
page_header(lang('Call') . ": " . h($PROCEDURE), $error);
|
4 |
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$PROCEDURE = ($_GET["name"] ? $_GET["name"] : $_GET["call"]);
|
5 |
page_header(lang('Call') . ": " . h($PROCEDURE), $error);
|
6 |
|
adminer/adminer/adminer/create.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$TABLE = $_GET["create"];
|
3 |
$partition_by = array();
|
4 |
foreach (array('HASH', 'LINEAR HASH', 'KEY', 'LINEAR KEY', 'RANGE', 'LIST') as $key) {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$TABLE = $_GET["create"];
|
5 |
$partition_by = array();
|
6 |
foreach (array('HASH', 'LINEAR HASH', 'KEY', 'LINEAR KEY', 'RANGE', 'LIST') as $key) {
|
adminer/adminer/adminer/database.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$row = $_POST;
|
3 |
|
4 |
if ($_POST && !$error && !isset($_POST["add_x"])) { // add is an image and PHP changes add.x to add_x
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$row = $_POST;
|
5 |
|
6 |
if ($_POST && !$error && !isset($_POST["add_x"])) { // add is an image and PHP changes add.x to add_x
|
adminer/adminer/adminer/db.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$tables_views = array_merge((array) $_POST["tables"], (array) $_POST["views"]);
|
3 |
|
4 |
if ($tables_views && !$error && !$_POST["search"]) {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$tables_views = array_merge((array) $_POST["tables"], (array) $_POST["views"]);
|
5 |
|
6 |
if ($tables_views && !$error && !$_POST["search"]) {
|
adminer/adminer/adminer/designs.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
function adminer_object() {
|
3 |
include_once "../plugins/plugin.php";
|
4 |
include_once "../plugins/designs.php";
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
function adminer_object() {
|
5 |
include_once "../plugins/plugin.php";
|
6 |
include_once "../plugins/designs.php";
|
adminer/adminer/adminer/download.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$TABLE = $_GET["download"];
|
3 |
$fields = fields($TABLE);
|
4 |
header("Content-Type: application/octet-stream");
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$TABLE = $_GET["download"];
|
5 |
$fields = fields($TABLE);
|
6 |
header("Content-Type: application/octet-stream");
|
adminer/adminer/adminer/drivers/clickhouse.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$drivers["clickhouse"] = "ClickHouse (alpha)";
|
3 |
|
4 |
if (isset($_GET["clickhouse"])) {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$drivers["clickhouse"] = "ClickHouse (alpha)";
|
5 |
|
6 |
if (isset($_GET["clickhouse"])) {
|
adminer/adminer/adminer/drivers/elastic.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$drivers["elastic"] = "Elasticsearch (beta)";
|
3 |
|
4 |
if (isset($_GET["elastic"])) {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$drivers["elastic"] = "Elasticsearch (beta)";
|
5 |
|
6 |
if (isset($_GET["elastic"])) {
|
adminer/adminer/adminer/drivers/firebird.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
/**
|
3 |
* @author Steve Krämer
|
4 |
*/
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
/**
|
5 |
* @author Steve Krämer
|
6 |
*/
|
adminer/adminer/adminer/drivers/mongo.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$drivers["mongo"] = "MongoDB";
|
3 |
|
4 |
if (isset($_GET["mongo"])) {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$drivers["mongo"] = "MongoDB";
|
5 |
|
6 |
if (isset($_GET["mongo"])) {
|
adminer/adminer/adminer/drivers/mssql.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
/**
|
3 |
* @author Jakub Cernohuby
|
4 |
* @author Vladimir Stastka
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
/**
|
5 |
* @author Jakub Cernohuby
|
6 |
* @author Vladimir Stastka
|
adminer/adminer/adminer/drivers/mysql.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$drivers = array("server" => "MySQL") + $drivers;
|
3 |
|
4 |
if (!defined("DRIVER")) {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$drivers = array("server" => "MySQL") + $drivers;
|
5 |
|
6 |
if (!defined("DRIVER")) {
|
adminer/adminer/adminer/drivers/oracle.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$drivers["oracle"] = "Oracle (beta)";
|
3 |
|
4 |
if (isset($_GET["oracle"])) {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$drivers["oracle"] = "Oracle (beta)";
|
5 |
|
6 |
if (isset($_GET["oracle"])) {
|
adminer/adminer/adminer/drivers/pgsql.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$drivers["pgsql"] = "PostgreSQL";
|
3 |
|
4 |
if (isset($_GET["pgsql"])) {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$drivers["pgsql"] = "PostgreSQL";
|
5 |
|
6 |
if (isset($_GET["pgsql"])) {
|
adminer/adminer/adminer/drivers/simpledb.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$drivers["simpledb"] = "SimpleDB";
|
3 |
|
4 |
if (isset($_GET["simpledb"])) {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$drivers["simpledb"] = "SimpleDB";
|
5 |
|
6 |
if (isset($_GET["simpledb"])) {
|
adminer/adminer/adminer/drivers/sqlite.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$drivers["sqlite"] = "SQLite 3";
|
3 |
$drivers["sqlite2"] = "SQLite 2";
|
4 |
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$drivers["sqlite"] = "SQLite 3";
|
5 |
$drivers["sqlite2"] = "SQLite 2";
|
6 |
|
adminer/adminer/adminer/dump.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$TABLE = $_GET["dump"];
|
3 |
|
4 |
if ($_POST && !$error) {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$TABLE = $_GET["dump"];
|
5 |
|
6 |
if ($_POST && !$error) {
|
adminer/adminer/adminer/edit.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$TABLE = $_GET["edit"];
|
3 |
$fields = fields($TABLE);
|
4 |
$where = (isset($_GET["select"]) ? ($_POST["check"] && count($_POST["check"]) == 1 ? where_check($_POST["check"][0], $fields) : "") : where($_GET, $fields));
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$TABLE = $_GET["edit"];
|
5 |
$fields = fields($TABLE);
|
6 |
$where = (isset($_GET["select"]) ? ($_POST["check"] && count($_POST["check"]) == 1 ? where_check($_POST["check"][0], $fields) : "") : where($_GET, $fields));
|
adminer/adminer/adminer/event.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$EVENT = $_GET["event"];
|
3 |
$intervals = array("YEAR", "QUARTER", "MONTH", "DAY", "HOUR", "MINUTE", "WEEK", "SECOND", "YEAR_MONTH", "DAY_HOUR", "DAY_MINUTE", "DAY_SECOND", "HOUR_MINUTE", "HOUR_SECOND", "MINUTE_SECOND");
|
4 |
$statuses = array("ENABLED" => "ENABLE", "DISABLED" => "DISABLE", "SLAVESIDE_DISABLED" => "DISABLE ON SLAVE");
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$EVENT = $_GET["event"];
|
5 |
$intervals = array("YEAR", "QUARTER", "MONTH", "DAY", "HOUR", "MINUTE", "WEEK", "SECOND", "YEAR_MONTH", "DAY_HOUR", "DAY_MINUTE", "DAY_SECOND", "HOUR_MINUTE", "HOUR_SECOND", "MINUTE_SECOND");
|
6 |
$statuses = array("ENABLED" => "ENABLE", "DISABLED" => "DISABLE", "SLAVESIDE_DISABLED" => "DISABLE ON SLAVE");
|
adminer/adminer/adminer/file.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
// caching headers added in compile.php
|
3 |
|
4 |
if ($_GET["file"] == "favicon.ico") {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
// caching headers added in compile.php
|
5 |
|
6 |
if ($_GET["file"] == "favicon.ico") {
|
adminer/adminer/adminer/foreign.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$TABLE = $_GET["foreign"];
|
3 |
$name = $_GET["name"];
|
4 |
$row = $_POST;
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$TABLE = $_GET["foreign"];
|
5 |
$name = $_GET["name"];
|
6 |
$row = $_POST;
|
adminer/adminer/adminer/include/adminer.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
// any method change in this file should be transferred to editor/include/adminer.inc.php and plugins/plugin.php
|
3 |
|
4 |
class Adminer {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
// any method change in this file should be transferred to editor/include/adminer.inc.php and plugins/plugin.php
|
5 |
|
6 |
class Adminer {
|
adminer/adminer/adminer/include/auth.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$connection = '';
|
3 |
|
4 |
$has_token = $_SESSION["token"];
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$connection = '';
|
5 |
|
6 |
$has_token = $_SESSION["token"];
|
adminer/adminer/adminer/include/bootstrap.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
error_reporting(6135); // errors and warnings
|
3 |
|
4 |
include "../adminer/include/coverage.inc.php";
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
error_reporting(6135); // errors and warnings
|
5 |
|
6 |
include "../adminer/include/coverage.inc.php";
|
adminer/adminer/adminer/include/connect.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
function connect_error() {
|
3 |
global $adminer, $connection, $token, $error, $drivers;
|
4 |
if (DB != "") {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
function connect_error() {
|
5 |
global $adminer, $connection, $token, $error, $drivers;
|
6 |
if (DB != "") {
|
adminer/adminer/adminer/include/coverage.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
// coverage is used in tests and removed in compilation
|
3 |
if (extension_loaded("xdebug") && file_exists(sys_get_temp_dir() . "/adminer_coverage.ser")) {
|
4 |
function save_coverage() {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
// coverage is used in tests and removed in compilation
|
5 |
if (extension_loaded("xdebug") && file_exists(sys_get_temp_dir() . "/adminer_coverage.ser")) {
|
6 |
function save_coverage() {
|
adminer/adminer/adminer/include/design.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
/** Print HTML header
|
3 |
* @param string used in title, breadcrumb and heading, should be HTML escaped
|
4 |
* @param string
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
/** Print HTML header
|
5 |
* @param string used in title, breadcrumb and heading, should be HTML escaped
|
6 |
* @param string
|
adminer/adminer/adminer/include/driver.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
/*abstract*/ class Min_SQL {
|
4 |
var $_conn;
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
/*abstract*/ class Min_SQL {
|
6 |
var $_conn;
|
adminer/adminer/adminer/include/editing.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
/** Print select result
|
3 |
* @param Min_Result
|
4 |
* @param Min_DB connection to examine indexes
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
/** Print select result
|
5 |
* @param Min_Result
|
6 |
* @param Min_DB connection to examine indexes
|
adminer/adminer/adminer/include/functions.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
/** Get database connection
|
3 |
* @return Min_DB
|
4 |
*/
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
/** Get database connection
|
5 |
* @return Min_DB
|
6 |
*/
|
adminer/adminer/adminer/include/lang.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
// not used in a single language version
|
3 |
|
4 |
$langs = array(
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
// not used in a single language version
|
5 |
|
6 |
$langs = array(
|
adminer/adminer/adminer/include/pdo.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
// PDO can be used in several database drivers
|
3 |
if (extension_loaded('pdo')) {
|
4 |
/*abstract*/ class Min_PDO extends PDO {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
// PDO can be used in several database drivers
|
5 |
if (extension_loaded('pdo')) {
|
6 |
/*abstract*/ class Min_PDO extends PDO {
|
adminer/adminer/adminer/include/tmpfile.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
class TmpFile {
|
4 |
var $handler;
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
class TmpFile {
|
6 |
var $handler;
|
adminer/adminer/adminer/include/version.inc.php
CHANGED
@@ -1,2 +1,4 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$VERSION = "4.7.1";
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$VERSION = "4.7.1";
|
adminer/adminer/adminer/include/xxtea.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
/** PHP implementation of XXTEA encryption algorithm
|
3 |
* @author Ma Bingyao <andot@ujn.edu.cn>
|
4 |
* @link http://www.coolcode.cn/?action=show&id=128
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
/** PHP implementation of XXTEA encryption algorithm
|
5 |
* @author Ma Bingyao <andot@ujn.edu.cn>
|
6 |
* @link http://www.coolcode.cn/?action=show&id=128
|
adminer/adminer/adminer/index.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
/** Adminer - Compact database management
|
3 |
* @link https://www.adminer.org/
|
4 |
* @author Jakub Vrana, https://www.vrana.cz/
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
/** Adminer - Compact database management
|
5 |
* @link https://www.adminer.org/
|
6 |
* @author Jakub Vrana, https://www.vrana.cz/
|
adminer/adminer/adminer/indexes.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$TABLE = $_GET["indexes"];
|
3 |
$index_types = array("PRIMARY", "UNIQUE", "INDEX");
|
4 |
$table_status = table_status($TABLE, true);
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$TABLE = $_GET["indexes"];
|
5 |
$index_types = array("PRIMARY", "UNIQUE", "INDEX");
|
6 |
$table_status = table_status($TABLE, true);
|
adminer/adminer/adminer/lang/ar.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'تسجيل الدخول',
|
4 |
'Logout successful.' => 'تم تسجيل الخروج بنجاح.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'تسجيل الدخول',
|
6 |
'Logout successful.' => 'تم تسجيل الخروج بنجاح.',
|
adminer/adminer/adminer/lang/bg.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => 'Система',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => 'Система',
|
adminer/adminer/adminer/lang/bn.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'লগইন',
|
4 |
'Logout successful.' => 'লগআউট সম্পন্ন হয়েছে।',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'লগইন',
|
6 |
'Logout successful.' => 'লগআউট সম্পন্ন হয়েছে।',
|
adminer/adminer/adminer/lang/bs.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => 'Sistem',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => 'Sistem',
|
adminer/adminer/adminer/lang/ca.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'Inicia la sessió',
|
4 |
'Logout successful.' => 'Desconnexió correcta.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'Inicia la sessió',
|
6 |
'Logout successful.' => 'Desconnexió correcta.',
|
adminer/adminer/adminer/lang/cs.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => 'Systém',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => 'Systém',
|
adminer/adminer/adminer/lang/da.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'System' => 'System',
|
4 |
'Server' => 'Server',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'System' => 'System',
|
6 |
'Server' => 'Server',
|
adminer/adminer/adminer/lang/de.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'Login',
|
4 |
'Logout successful.' => 'Abmeldung erfolgreich.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'Login',
|
6 |
'Logout successful.' => 'Abmeldung erfolgreich.',
|
adminer/adminer/adminer/lang/el.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => 'Σύστημα',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => 'Σύστημα',
|
adminer/adminer/adminer/lang/en.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Too many unsuccessful logins, try again in %d minute(s).' => array('Too many unsuccessful logins, try again in %d minute.', 'Too many unsuccessful logins, try again in %d minutes.'),
|
4 |
'Query executed OK, %d row(s) affected.' => array('Query executed OK, %d row affected.', 'Query executed OK, %d rows affected.'),
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Too many unsuccessful logins, try again in %d minute(s).' => array('Too many unsuccessful logins, try again in %d minute.', 'Too many unsuccessful logins, try again in %d minutes.'),
|
6 |
'Query executed OK, %d row(s) affected.' => array('Query executed OK, %d row affected.', 'Query executed OK, %d rows affected.'),
|
adminer/adminer/adminer/lang/es.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'Login',
|
4 |
'Logout successful.' => 'Sesión finalizada con éxito.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'Login',
|
6 |
'Logout successful.' => 'Sesión finalizada con éxito.',
|
adminer/adminer/adminer/lang/et.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'Logi sisse',
|
4 |
'Logout successful.' => 'Väljalogimine õnnestus.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'Logi sisse',
|
6 |
'Logout successful.' => 'Väljalogimine õnnestus.',
|
adminer/adminer/adminer/lang/fa.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => 'سیستم',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => 'سیستم',
|
adminer/adminer/adminer/lang/fi.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => 'Järjestelmä',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => 'Järjestelmä',
|
adminer/adminer/adminer/lang/fr.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'Authentification',
|
4 |
'Logout successful.' => 'Au revoir !',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'Authentification',
|
6 |
'Logout successful.' => 'Au revoir !',
|
adminer/adminer/adminer/lang/gl.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'Conectar',
|
4 |
'Logout successful.' => 'Pechouse a sesión con éxito.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'Conectar',
|
6 |
'Logout successful.' => 'Pechouse a sesión con éxito.',
|
adminer/adminer/adminer/lang/he.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'התחברות',
|
4 |
'Logout successful.' => 'ההתחברות הצליחה',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'התחברות',
|
6 |
'Logout successful.' => 'ההתחברות הצליחה',
|
adminer/adminer/adminer/lang/hu.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'Belépés',
|
4 |
'Logout successful.' => 'Sikeres kilépés.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'Belépés',
|
6 |
'Logout successful.' => 'Sikeres kilépés.',
|
adminer/adminer/adminer/lang/id.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => 'Sistem',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => 'Sistem',
|
adminer/adminer/adminer/lang/it.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'Autenticazione',
|
4 |
'Logout successful.' => 'Uscita effettuata con successo.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'Autenticazione',
|
6 |
'Logout successful.' => 'Uscita effettuata con successo.',
|
adminer/adminer/adminer/lang/ja.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'ログイン',
|
4 |
'Logout successful.' => 'ログアウト',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'ログイン',
|
6 |
'Logout successful.' => 'ログアウト',
|
adminer/adminer/adminer/lang/ka.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'შესვლა',
|
4 |
'Logout successful.' => 'გამოხვედით სისტემიდან.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'შესვლა',
|
6 |
'Logout successful.' => 'გამოხვედით სისტემიდან.',
|
adminer/adminer/adminer/lang/ko.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => '로그인',
|
4 |
'Logout successful.' => '로그아웃',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => '로그인',
|
6 |
'Logout successful.' => '로그아웃',
|
adminer/adminer/adminer/lang/lt.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => 'Sistema',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => 'Sistema',
|
adminer/adminer/adminer/lang/ms.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => 'Sistem',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => 'Sistem',
|
adminer/adminer/adminer/lang/nl.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'Inloggen',
|
4 |
'Logout successful.' => 'Uitloggen geslaagd.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'Inloggen',
|
6 |
'Logout successful.' => 'Uitloggen geslaagd.',
|
adminer/adminer/adminer/lang/no.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'System' => 'System',
|
4 |
'Server' => 'Server',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'System' => 'System',
|
6 |
'Server' => 'Server',
|
adminer/adminer/adminer/lang/pl.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => 'Rodzaj bazy',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => 'Rodzaj bazy',
|
adminer/adminer/adminer/lang/pt-br.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'Entrar',
|
4 |
'Logout successful.' => 'Saída bem sucedida.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'Entrar',
|
6 |
'Logout successful.' => 'Saída bem sucedida.',
|
adminer/adminer/adminer/lang/pt.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'Entrar',
|
4 |
'Logout successful.' => 'Sessão terminada com sucesso.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'Entrar',
|
6 |
'Logout successful.' => 'Sessão terminada com sucesso.',
|
adminer/adminer/adminer/lang/ro.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'Intră',
|
4 |
'Logout successful.' => 'Ați ieșit cu succes.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'Intră',
|
6 |
'Logout successful.' => 'Ați ieșit cu succes.',
|
adminer/adminer/adminer/lang/ru.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'Войти',
|
4 |
'Logout successful.' => 'Вы успешно покинули систему.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'Войти',
|
6 |
'Logout successful.' => 'Вы успешно покинули систему.',
|
adminer/adminer/adminer/lang/sk.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'Prihlásiť sa',
|
4 |
'Logout successful.' => 'Odhlásenie prebehlo v poriadku.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'Prihlásiť sa',
|
6 |
'Logout successful.' => 'Odhlásenie prebehlo v poriadku.',
|
adminer/adminer/adminer/lang/sl.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => 'Sistem',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => 'Sistem',
|
adminer/adminer/adminer/lang/sr.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => 'Систем',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => 'Систем',
|
adminer/adminer/adminer/lang/ta.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'நுழை',
|
4 |
'Logout successful.' => 'வெற்றிகரமாய் வெளியேறியாயிற்று.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'நுழை',
|
6 |
'Logout successful.' => 'வெற்றிகரமாய் வெளியேறியாயிற்று.',
|
adminer/adminer/adminer/lang/th.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
'Login' => 'เข้าสู่ระบบ',
|
4 |
'Logout successful.' => 'ออกจากระบบเรียบร้อยแล้ว.',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
'Login' => 'เข้าสู่ระบบ',
|
6 |
'Logout successful.' => 'ออกจากระบบเรียบร้อยแล้ว.',
|
adminer/adminer/adminer/lang/tr.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => 'Sistem',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => 'Sistem',
|
adminer/adminer/adminer/lang/uk.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => 'Система Бази Даних',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => 'Система Бази Даних',
|
adminer/adminer/adminer/lang/vi.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => 'Hệ thống',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => 'Hệ thống',
|
adminer/adminer/adminer/lang/xx.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => 'Xx',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => 'Xx',
|
adminer/adminer/adminer/lang/zh-tw.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => '資料庫系統',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => '資料庫系統',
|
adminer/adminer/adminer/lang/zh.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$translations = array(
|
3 |
// label for database system selection (MySQL, SQLite, ...)
|
4 |
'System' => '系统',
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$translations = array(
|
5 |
// label for database system selection (MySQL, SQLite, ...)
|
6 |
'System' => '系统',
|
adminer/adminer/adminer/plugin.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
function adminer_object() {
|
3 |
// required to run any plugin
|
4 |
include_once "../plugins/plugin.php";
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
function adminer_object() {
|
5 |
// required to run any plugin
|
6 |
include_once "../plugins/plugin.php";
|
adminer/adminer/adminer/privileges.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
page_header(lang('Privileges'));
|
3 |
|
4 |
echo '<p class="links"><a href="' . h(ME) . 'user=">' . lang('Create user') . "</a>";
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
page_header(lang('Privileges'));
|
5 |
|
6 |
echo '<p class="links"><a href="' . h(ME) . 'user=">' . lang('Create user') . "</a>";
|
adminer/adminer/adminer/procedure.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$PROCEDURE = ($_GET["name"] ? $_GET["name"] : $_GET["procedure"]);
|
3 |
$routine = (isset($_GET["function"]) ? "FUNCTION" : "PROCEDURE");
|
4 |
$row = $_POST;
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$PROCEDURE = ($_GET["name"] ? $_GET["name"] : $_GET["procedure"]);
|
5 |
$routine = (isset($_GET["function"]) ? "FUNCTION" : "PROCEDURE");
|
6 |
$row = $_POST;
|
adminer/adminer/adminer/processlist.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
if (support("kill") && $_POST && !$error) {
|
3 |
$killed = 0;
|
4 |
foreach ((array) $_POST["kill"] as $val) {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
if (support("kill") && $_POST && !$error) {
|
5 |
$killed = 0;
|
6 |
foreach ((array) $_POST["kill"] as $val) {
|
adminer/adminer/adminer/schema.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
page_header(lang('Database schema'), "", array(), h(DB . ($_GET["ns"] ? ".$_GET[ns]" : "")));
|
3 |
|
4 |
$table_pos = array();
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
page_header(lang('Database schema'), "", array(), h(DB . ($_GET["ns"] ? ".$_GET[ns]" : "")));
|
5 |
|
6 |
$table_pos = array();
|
adminer/adminer/adminer/scheme.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$row = $_POST;
|
3 |
|
4 |
if ($_POST && !$error) {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$row = $_POST;
|
5 |
|
6 |
if ($_POST && !$error) {
|
adminer/adminer/adminer/script.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
header("Content-Type: text/javascript; charset=utf-8");
|
3 |
|
4 |
if ($_GET["script"] == "db") {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
header("Content-Type: text/javascript; charset=utf-8");
|
5 |
|
6 |
if ($_GET["script"] == "db") {
|
adminer/adminer/adminer/select.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$TABLE = $_GET["select"];
|
3 |
$table_status = table_status1($TABLE);
|
4 |
$indexes = indexes($TABLE);
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$TABLE = $_GET["select"];
|
5 |
$table_status = table_status1($TABLE);
|
6 |
$indexes = indexes($TABLE);
|
adminer/adminer/adminer/sequence.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$SEQUENCE = $_GET["sequence"];
|
3 |
$row = $_POST;
|
4 |
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$SEQUENCE = $_GET["sequence"];
|
5 |
$row = $_POST;
|
6 |
|
adminer/adminer/adminer/sql.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
if (!$error && $_POST["export"]) {
|
3 |
dump_headers("sql");
|
4 |
$adminer->dumpTable("", "");
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
if (!$error && $_POST["export"]) {
|
5 |
dump_headers("sql");
|
6 |
$adminer->dumpTable("", "");
|
adminer/adminer/adminer/sqlite.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
function adminer_object() {
|
3 |
include_once "../plugins/plugin.php";
|
4 |
include_once "../plugins/login-password-less.php";
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
function adminer_object() {
|
5 |
include_once "../plugins/plugin.php";
|
6 |
include_once "../plugins/login-password-less.php";
|
adminer/adminer/adminer/table.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$TABLE = $_GET["table"];
|
3 |
$fields = fields($TABLE);
|
4 |
if (!$fields) {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$TABLE = $_GET["table"];
|
5 |
$fields = fields($TABLE);
|
6 |
if (!$fields) {
|
adminer/adminer/adminer/trigger.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$TABLE = $_GET["trigger"];
|
3 |
$name = $_GET["name"];
|
4 |
$trigger_options = trigger_options();
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$TABLE = $_GET["trigger"];
|
5 |
$name = $_GET["name"];
|
6 |
$trigger_options = trigger_options();
|
adminer/adminer/adminer/type.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$TYPE = $_GET["type"];
|
3 |
$row = $_POST;
|
4 |
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$TYPE = $_GET["type"];
|
5 |
$row = $_POST;
|
6 |
|
adminer/adminer/adminer/user.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$USER = $_GET["user"];
|
3 |
$privileges = array("" => array("All privileges" => ""));
|
4 |
foreach (get_rows("SHOW PRIVILEGES") as $row) {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$USER = $_GET["user"];
|
5 |
$privileges = array("" => array("All privileges" => ""));
|
6 |
foreach (get_rows("SHOW PRIVILEGES") as $row) {
|
adminer/adminer/adminer/variables.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$status = isset($_GET["status"]);
|
3 |
page_header($status ? lang('Status') : lang('Variables'));
|
4 |
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$status = isset($_GET["status"]);
|
5 |
page_header($status ? lang('Status') : lang('Variables'));
|
6 |
|
adminer/adminer/adminer/view.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$TABLE = $_GET["view"];
|
3 |
$row = $_POST;
|
4 |
$orig_type = "VIEW";
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$TABLE = $_GET["view"];
|
5 |
$row = $_POST;
|
6 |
$orig_type = "VIEW";
|
adminer/adminer/editor/db.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
page_header(lang('Server'), "", false);
|
3 |
|
4 |
if ($adminer->homepage()) {
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
page_header(lang('Server'), "", false);
|
5 |
|
6 |
if ($adminer->homepage()) {
|
adminer/adminer/editor/include/adminer.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
class Adminer {
|
3 |
var $operators = array("<=", ">=");
|
4 |
var $_values = array();
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
class Adminer {
|
5 |
var $operators = array("<=", ">=");
|
6 |
var $_values = array();
|
adminer/adminer/editor/include/connect.inc.php
CHANGED
@@ -1,2 +1,4 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$connection->select_db($adminer->database());
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$connection->select_db($adminer->database());
|
adminer/adminer/editor/include/editing.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
/** Encode e-mail header in UTF-8
|
3 |
* @param string
|
4 |
* @return string
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
/** Encode e-mail header in UTF-8
|
5 |
* @param string
|
6 |
* @return string
|
adminer/adminer/editor/index.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
/** Adminer Editor - Compact database editor
|
3 |
* @link https://www.adminer.org/
|
4 |
* @author Jakub Vrana, https://www.vrana.cz/
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
/** Adminer Editor - Compact database editor
|
5 |
* @link https://www.adminer.org/
|
6 |
* @author Jakub Vrana, https://www.vrana.cz/
|
adminer/adminer/editor/script.inc.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
if ($_GET["script"] == "kill") {
|
3 |
$connection->query("KILL " . number($_POST["kill"]));
|
4 |
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
if ($_GET["script"] == "kill") {
|
5 |
$connection->query("KILL " . number($_POST["kill"]));
|
6 |
|
adminer/adminer/externals/JsShrink/jsShrink.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
/** Remove spaces and comments from JavaScript code
|
3 |
* @param string code with commands terminated by semicolon
|
4 |
* @return string shrinked code
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
/** Remove spaces and comments from JavaScript code
|
5 |
* @param string code with commands terminated by semicolon
|
6 |
* @return string shrinked code
|
adminer/adminer/plugins/database-hide.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
/** Hide some databases from the interface - just to improve design, not a security plugin
|
4 |
* @link https://www.adminer.org/plugins/#use
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
/** Hide some databases from the interface - just to improve design, not a security plugin
|
6 |
* @link https://www.adminer.org/plugins/#use
|
adminer/adminer/plugins/dump-alter.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
/** Exports one database (e.g. development) so that it can be synced with other database (e.g. production)
|
4 |
* @link https://www.adminer.org/plugins/#use
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
/** Exports one database (e.g. development) so that it can be synced with other database (e.g. production)
|
6 |
* @link https://www.adminer.org/plugins/#use
|
adminer/adminer/plugins/dump-bz2.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
/** Dump to Bzip2 format
|
4 |
* @link https://www.adminer.org/plugins/#use
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
/** Dump to Bzip2 format
|
6 |
* @link https://www.adminer.org/plugins/#use
|
adminer/adminer/plugins/dump-date.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
/** Include current date and time in export filename
|
4 |
* @link https://www.adminer.org/plugins/#use
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
/** Include current date and time in export filename
|
6 |
* @link https://www.adminer.org/plugins/#use
|
adminer/adminer/plugins/dump-json.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
/** Dump to JSON format
|
4 |
* @link https://www.adminer.org/plugins/#use
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
/** Dump to JSON format
|
6 |
* @link https://www.adminer.org/plugins/#use
|
adminer/adminer/plugins/dump-xml.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
/** Dump to XML format in structure <database name=""><table name=""><column name="">value
|
4 |
* @link https://www.adminer.org/plugins/#use
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
/** Dump to XML format in structure <database name=""><table name=""><column name="">value
|
6 |
* @link https://www.adminer.org/plugins/#use
|
adminer/adminer/plugins/dump-zip.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
/** Dump to ZIP format
|
4 |
* @link https://www.adminer.org/plugins/#use
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
/** Dump to ZIP format
|
6 |
* @link https://www.adminer.org/plugins/#use
|
adminer/adminer/plugins/edit-foreign.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
/** Select foreign key in edit form
|
4 |
* @link https://www.adminer.org/plugins/#use
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
/** Select foreign key in edit form
|
6 |
* @link https://www.adminer.org/plugins/#use
|
adminer/adminer/plugins/enum-option.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
/** Use <select><option> for enum edit instead of <input type="radio">
|
4 |
* @link https://www.adminer.org/plugins/#use
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
/** Use <select><option> for enum edit instead of <input type="radio">
|
6 |
* @link https://www.adminer.org/plugins/#use
|
adminer/adminer/plugins/file-upload.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
//! delete
|
3 |
|
4 |
/** Edit fields ending with "_path" by <input type="file"> and link to the uploaded files from select
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
//! delete
|
5 |
|
6 |
/** Edit fields ending with "_path" by <input type="file"> and link to the uploaded files from select
|
adminer/adminer/plugins/foreign-system.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
/** Link system tables (in mysql and information_schema databases) by foreign keys
|
4 |
* @link https://www.adminer.org/plugins/#use
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
/** Link system tables (in mysql and information_schema databases) by foreign keys
|
6 |
* @link https://www.adminer.org/plugins/#use
|
adminer/adminer/plugins/frames.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
/** Allow using Adminer inside a frame (disables ClickJacking protection)
|
4 |
* @link https://www.adminer.org/plugins/#use
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
/** Allow using Adminer inside a frame (disables ClickJacking protection)
|
6 |
* @link https://www.adminer.org/plugins/#use
|
adminer/adminer/plugins/json-column.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
/** Display JSON values as table in edit
|
4 |
* @link https://www.adminer.org/plugins/#use
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
/** Display JSON values as table in edit
|
6 |
* @link https://www.adminer.org/plugins/#use
|
adminer/adminer/plugins/plugin.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
/** Adminer customization allowing usage of plugins
|
4 |
* @link https://www.adminer.org/plugins/#use
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
/** Adminer customization allowing usage of plugins
|
6 |
* @link https://www.adminer.org/plugins/#use
|
adminer/adminer/plugins/slugify.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
/** Prefill field containing "_slug" with slugified value of a previous field (JavaScript)
|
4 |
* @link https://www.adminer.org/plugins/#use
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
/** Prefill field containing "_slug" with slugified value of a previous field (JavaScript)
|
6 |
* @link https://www.adminer.org/plugins/#use
|
adminer/adminer/plugins/tables-filter.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
/** Use filter in tables list
|
4 |
* @link https://www.adminer.org/plugins/#use
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
|
5 |
/** Use filter in tables list
|
6 |
* @link https://www.adminer.org/plugins/#use
|
adminer/adminer/plugins/translation.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
/* Requires this table:
|
3 |
CREATE TABLE translation (
|
4 |
id int NOT NULL AUTO_INCREMENT, -- optional
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
/* Requires this table:
|
5 |
CREATE TABLE translation (
|
6 |
id int NOT NULL AUTO_INCREMENT, -- optional
|
adminer/wrapper.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
defined( 'ADMINER_WRAPPER_TYPE' ) || die( 'Access denied.' );
|
3 |
|
|
|
|
|
4 |
$plugin_root_path = dirname( __FILE__ ) . '/../';
|
5 |
$adminer_path = dirname( __FILE__ ) . '/adminer/';
|
6 |
|
@@ -26,6 +28,11 @@ if ( ! $adminer_config->load( $session_key ) ) {
|
|
26 |
}
|
27 |
}
|
28 |
|
|
|
|
|
|
|
|
|
|
|
29 |
if ( ! function_exists( 'adminer_object' ) ) {
|
30 |
function adminer_object() {
|
31 |
global $adminer_config, $adminer_path;
|
1 |
<?php
|
2 |
defined( 'ADMINER_WRAPPER_TYPE' ) || die( 'Access denied.' );
|
3 |
|
4 |
+
define( 'ABSPATH', dirname( __FILE__ ) . '/' );
|
5 |
+
|
6 |
$plugin_root_path = dirname( __FILE__ ) . '/../';
|
7 |
$adminer_path = dirname( __FILE__ ) . '/adminer/';
|
8 |
|
28 |
}
|
29 |
}
|
30 |
|
31 |
+
$nonce = Request::get_var( '__wp_nonce' );
|
32 |
+
if ( 0 === strlen( $nonce ) || 0 === strlen( $adminer_config->nonce ) || $nonce !== $adminer_config->nonce ) {
|
33 |
+
die( 'Access denied. Invalid token.' );
|
34 |
+
}
|
35 |
+
|
36 |
if ( ! function_exists( 'adminer_object' ) ) {
|
37 |
function adminer_object() {
|
38 |
global $adminer_config, $adminer_path;
|
ari-adminer.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: ARI Adminer
|
4 |
Plugin URI: http://wp-quiz.ari-soft.com/plugins/wordpress-adminer.html
|
5 |
Description: Powerful, compact and easy to use database manager plugin for WordPress.
|
6 |
-
Version: 1.
|
7 |
Author: ARI Soft
|
8 |
Author URI: http://www.ari-soft.com
|
9 |
Text Domain: ari-adminer
|
3 |
Plugin Name: ARI Adminer
|
4 |
Plugin URI: http://wp-quiz.ari-soft.com/plugins/wordpress-adminer.html
|
5 |
Description: Powerful, compact and easy to use database manager plugin for WordPress.
|
6 |
+
Version: 1.2.0
|
7 |
Author: ARI Soft
|
8 |
Author URI: http://www.ari-soft.com
|
9 |
Text Domain: ari-adminer
|
includes/class-installer.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer;
|
|
|
|
|
3 |
|
4 |
use Ari\App\Installer as Ari_Installer;
|
5 |
use Ari\Database\Helper as DB;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\App\Installer as Ari_Installer;
|
7 |
use Ari\Database\Helper as DB;
|
includes/class-plugin.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer;
|
|
|
|
|
3 |
|
4 |
use Ari\App\Plugin as Ari_Plugin;
|
5 |
use Ari\Utils\Request as Request;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\App\Plugin as Ari_Plugin;
|
7 |
use Ari\Utils\Request as Request;
|
includes/controllers/adminer-runner/class-ajax-test.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Controllers\Adminer_Runner;
|
|
|
|
|
3 |
|
4 |
use Ari\Controllers\Ajax as Ajax_Controller;
|
5 |
use Ari_Adminer\Helpers\Helper as Helper;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Controllers\Adminer_Runner;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Controllers\Ajax as Ajax_Controller;
|
7 |
use Ari_Adminer\Helpers\Helper as Helper;
|
includes/controllers/adminer-runner/class-display.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Controllers\Adminer_Runner;
|
|
|
|
|
3 |
|
4 |
use Ari\Controllers\Display as Display_Controller;
|
5 |
use Ari\Utils\Response as Response;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Controllers\Adminer_Runner;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Controllers\Display as Display_Controller;
|
7 |
use Ari\Utils\Response as Response;
|
includes/controllers/adminer-runner/class-run.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
namespace Ari_Adminer\Controllers\Adminer_Runner;
|
3 |
|
|
|
|
|
4 |
use Ari\Controllers\Controller as Controller;
|
5 |
use Ari\Utils\Response as Response;
|
6 |
use Ari\Utils\Request as Request;
|
@@ -20,10 +22,13 @@ class Run extends Controller {
|
|
20 |
$this->redirect_to_dashboard( __( 'You do not have permissions to run Adminer', 'ari-adminer' ) );
|
21 |
}
|
22 |
|
|
|
23 |
$connection_id = intval( Request::get_var( 'id', 0 ), 10 );
|
24 |
|
25 |
$adminer_options = array(
|
26 |
'theme_url' => Helper::get_theme_url(),
|
|
|
|
|
27 |
);
|
28 |
|
29 |
if ( $connection_id > 0 ) {
|
@@ -78,6 +83,8 @@ class Run extends Controller {
|
|
78 |
'username' => $options_key,
|
79 |
|
80 |
'db' => $config->db_name,
|
|
|
|
|
81 |
);
|
82 |
|
83 |
if ( DB_Driver::MYSQL != $config->db_driver )
|
1 |
<?php
|
2 |
namespace Ari_Adminer\Controllers\Adminer_Runner;
|
3 |
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
+
|
6 |
use Ari\Controllers\Controller as Controller;
|
7 |
use Ari\Utils\Response as Response;
|
8 |
use Ari\Utils\Request as Request;
|
22 |
$this->redirect_to_dashboard( __( 'You do not have permissions to run Adminer', 'ari-adminer' ) );
|
23 |
}
|
24 |
|
25 |
+
$nonce = wp_create_nonce( ARIADMINER_RUN_NONCE );
|
26 |
$connection_id = intval( Request::get_var( 'id', 0 ), 10 );
|
27 |
|
28 |
$adminer_options = array(
|
29 |
'theme_url' => Helper::get_theme_url(),
|
30 |
+
|
31 |
+
'nonce' => $nonce,
|
32 |
);
|
33 |
|
34 |
if ( $connection_id > 0 ) {
|
83 |
'username' => $options_key,
|
84 |
|
85 |
'db' => $config->db_name,
|
86 |
+
|
87 |
+
'__wp_nonce' => $nonce,
|
88 |
);
|
89 |
|
90 |
if ( DB_Driver::MYSQL != $config->db_driver )
|
includes/controllers/connections/class-ajax-get-connection.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Controllers\Connections;
|
|
|
|
|
3 |
|
4 |
use Ari\Controllers\Ajax as Ajax_Controller;
|
5 |
use Ari_Adminer\Helpers\Helper as Helper;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Controllers\Connections;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Controllers\Ajax as Ajax_Controller;
|
7 |
use Ari_Adminer\Helpers\Helper as Helper;
|
includes/controllers/connections/class-ajax-save.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Controllers\Connections;
|
|
|
|
|
3 |
|
4 |
use Ari\Controllers\Ajax as Ajax_Controller;
|
5 |
use Ari_Adminer\Helpers\Helper as Helper;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Controllers\Connections;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Controllers\Ajax as Ajax_Controller;
|
7 |
use Ari_Adminer\Helpers\Helper as Helper;
|
includes/controllers/connections/class-ajax-test.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Controllers\Connections;
|
|
|
|
|
3 |
|
4 |
use Ari\Controllers\Ajax as Ajax_Controller;
|
5 |
use Ari_Adminer\Helpers\Helper as Helper;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Controllers\Connections;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Controllers\Ajax as Ajax_Controller;
|
7 |
use Ari_Adminer\Helpers\Helper as Helper;
|
includes/controllers/connections/class-bulk-delete.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Controllers\Connections;
|
|
|
|
|
3 |
|
4 |
use Ari\Controllers\Controller as Controller;
|
5 |
use Ari\Utils\Response as Response;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Controllers\Connections;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Controllers\Controller as Controller;
|
7 |
use Ari\Utils\Response as Response;
|
includes/controllers/connections/class-delete.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Controllers\Connections;
|
|
|
|
|
3 |
|
4 |
use Ari\Controllers\Controller as Controller;
|
5 |
use Ari\Utils\Response as Response;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Controllers\Connections;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Controllers\Controller as Controller;
|
7 |
use Ari\Utils\Response as Response;
|
includes/controllers/connections/class-display.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Controllers\Connections;
|
|
|
|
|
3 |
|
4 |
use Ari\Controllers\Display as Display_Controller;
|
5 |
use Ari\Utils\Response as Response;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Controllers\Connections;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Controllers\Display as Display_Controller;
|
7 |
use Ari\Utils\Response as Response;
|
includes/controllers/connections/class-reload.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Controllers\Connections;
|
|
|
|
|
3 |
|
4 |
use Ari\Controllers\Controller as Controller;
|
5 |
use Ari\Utils\Response as Response;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Controllers\Connections;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Controllers\Controller as Controller;
|
7 |
use Ari\Utils\Response as Response;
|
includes/controllers/connections/class-reset-default.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Controllers\Connections;
|
|
|
|
|
3 |
|
4 |
use Ari\Controllers\Controller as Controller;
|
5 |
use Ari\Utils\Response as Response;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Controllers\Connections;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Controllers\Controller as Controller;
|
7 |
use Ari\Utils\Response as Response;
|
includes/controllers/connections/class-set-default.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Controllers\Connections;
|
|
|
|
|
3 |
|
4 |
use Ari\Controllers\Controller as Controller;
|
5 |
use Ari\Utils\Response as Response;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Controllers\Connections;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Controllers\Controller as Controller;
|
7 |
use Ari\Utils\Response as Response;
|
includes/controllers/settings/class-display.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Controllers\Settings;
|
|
|
|
|
3 |
|
4 |
use Ari\Controllers\Display as Display_Controller;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Controllers\Settings;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Controllers\Display as Display_Controller;
|
7 |
|
includes/controls/grid/class-grid.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Controls\Grid;
|
|
|
|
|
3 |
|
4 |
use Ari\Controls\Grid\Grid as Grid_Base;
|
5 |
use Ari\Utils\Array_Helper as Array_Helper;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Controls\Grid;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Controls\Grid\Grid as Grid_Base;
|
7 |
use Ari\Utils\Array_Helper as Array_Helper;
|
includes/defines.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
|
|
|
|
|
3 |
define( 'ARIADMINER_SLUG', 'ari-adminer' );
|
4 |
define( 'ARIADMINER_ASSETS_URL', ARIADMINER_URL . 'assets/' );
|
5 |
define( 'ARIADMINER_VERSION_OPTION', 'ari_adminer' );
|
@@ -20,3 +22,4 @@ define( 'ARIADMINER_MESSAGETYPE_ERROR', 'error' );
|
|
20 |
define( 'ARIADMINER_MESSAGETYPE_WARNING', 'warning' );
|
21 |
|
22 |
define( 'ARIADMINER_NONCE', 'ariadminer' );
|
|
1 |
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
+
define( 'ARIADMINER_VERSION', '1.2.0' );
|
5 |
define( 'ARIADMINER_SLUG', 'ari-adminer' );
|
6 |
define( 'ARIADMINER_ASSETS_URL', ARIADMINER_URL . 'assets/' );
|
7 |
define( 'ARIADMINER_VERSION_OPTION', 'ari_adminer' );
|
22 |
define( 'ARIADMINER_MESSAGETYPE_WARNING', 'warning' );
|
23 |
|
24 |
define( 'ARIADMINER_NONCE', 'ariadminer' );
|
25 |
+
define( 'ARIADMINER_RUN_NONCE', 'ariadminer_run' );
|
includes/entities/class-connection.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Entities;
|
|
|
|
|
3 |
|
4 |
use Ari\Entities\Entity as Entity;
|
5 |
use Ari_Adminer\Utils\Db_Driver as DB_Driver;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Entities;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Entities\Entity as Entity;
|
7 |
use Ari_Adminer\Utils\Db_Driver as DB_Driver;
|
includes/helpers/class-bridge.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
namespace Ari_Adminer\Helpers;
|
3 |
|
|
|
|
|
4 |
define( 'ARIADMINER_BRIDGE_SESSION_KEY', 'adminer_shared' );
|
5 |
|
6 |
use Ari\Utils\Request as Request;
|
@@ -82,6 +84,41 @@ class Bridge {
|
|
82 |
$content
|
83 |
);
|
84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
return $content;
|
86 |
}
|
87 |
|
1 |
<?php
|
2 |
namespace Ari_Adminer\Helpers;
|
3 |
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
+
|
6 |
define( 'ARIADMINER_BRIDGE_SESSION_KEY', 'adminer_shared' );
|
7 |
|
8 |
use Ari\Utils\Request as Request;
|
84 |
$content
|
85 |
);
|
86 |
|
87 |
+
$content = preg_replace_callback(
|
88 |
+
'/<a[\s]+[^>]*?(href[\s]?=[\s\"\']*(.*?)[\"\'])*.*?>([^<]+|.*?)?<\/a>/i',
|
89 |
+
function( $matches ) {
|
90 |
+
$url = $matches[2];
|
91 |
+
if ( false !== strpos( $url, '__wp_nonce' ) ) {
|
92 |
+
return $matches[0];
|
93 |
+
}
|
94 |
+
|
95 |
+
$insertPos = strpos( $url, '?' );
|
96 |
+
$insertAmp = strpos( $url, '&' ) !== false;
|
97 |
+
if ( false === $insertPos ) {
|
98 |
+
$insertPos = strpos( $url, '#' );
|
99 |
+
|
100 |
+
if ( false === $insertPos ) {
|
101 |
+
$url .= '?';
|
102 |
+
$insertPos = strlen( $url );
|
103 |
+
}
|
104 |
+
} else {
|
105 |
+
$insertAmp = true;
|
106 |
+
$insertPos += 1;
|
107 |
+
}
|
108 |
+
|
109 |
+
$url = substr( $url, 0, $insertPos)
|
110 |
+
. '__wp_nonce=' . $this->config->nonce . ( $insertAmp ? '&' : '' )
|
111 |
+
. substr( $url, $insertPos );
|
112 |
+
|
113 |
+
return str_replace(
|
114 |
+
$matches[1],
|
115 |
+
'href="' . $url . '"',
|
116 |
+
$matches[0]
|
117 |
+
);
|
118 |
+
},
|
119 |
+
$content
|
120 |
+
);
|
121 |
+
|
122 |
return $content;
|
123 |
}
|
124 |
|
includes/helpers/class-crypt.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Helpers;
|
|
|
|
|
3 |
|
4 |
define( 'ARI_CRYPT_OPENSSL_INSTALLED', extension_loaded( 'openssl' ) );
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Helpers;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
define( 'ARI_CRYPT_OPENSSL_INSTALLED', extension_loaded( 'openssl' ) );
|
7 |
|
includes/helpers/class-helper.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Helpers;
|
|
|
|
|
3 |
|
4 |
use Ari_Adminer\Utils\Db_Driver as DB_Driver;
|
5 |
use Ari_Adminer\Models\Connections as Connections_Model;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Helpers;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari_Adminer\Utils\Db_Driver as DB_Driver;
|
7 |
use Ari_Adminer\Models\Connections as Connections_Model;
|
includes/helpers/class-screen.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Helpers;
|
|
|
|
|
3 |
|
4 |
class Screen {
|
5 |
static public function register() {
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Helpers;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Screen {
|
7 |
static public function register() {
|
includes/helpers/class-settings.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Helpers;
|
|
|
|
|
3 |
|
4 |
define( 'ARIADMINER_SETTINGS_GROUP', 'ari_adminer' );
|
5 |
define( 'ARIADMINER_SETTINGS_NAME', 'ari_adminer_settings' );
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Helpers;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
define( 'ARIADMINER_SETTINGS_GROUP', 'ari_adminer' );
|
7 |
define( 'ARIADMINER_SETTINGS_NAME', 'ari_adminer_settings' );
|
includes/models/class-adminer-runner.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Models;
|
|
|
|
|
3 |
|
4 |
use Ari\Models\Model as Model;
|
5 |
use Ari_Adminer\Models\Connections as Connections_Model;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Models;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Models\Model as Model;
|
7 |
use Ari_Adminer\Models\Connections as Connections_Model;
|
includes/models/class-connection.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Models;
|
|
|
|
|
3 |
|
4 |
use Ari\Models\Model as Model;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Models;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Models\Model as Model;
|
7 |
|
includes/models/class-connections.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Models;
|
|
|
|
|
3 |
|
4 |
use Ari\Models\Model as Model;
|
5 |
use Ari\Utils\Request as Request;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Models;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Models\Model as Model;
|
7 |
use Ari\Utils\Request as Request;
|
includes/models/class-settings.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Models;
|
|
|
|
|
3 |
|
4 |
use Ari\Models\Model as Model;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Models;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Models\Model as Model;
|
7 |
|
includes/utils/class-config-options.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
namespace Ari_Adminer\Utils;
|
3 |
|
|
|
|
|
4 |
use Ari\Utils\Options as Options;
|
5 |
|
6 |
class Config_Options extends Options {
|
@@ -17,4 +19,6 @@ class Config_Options extends Options {
|
|
17 |
public $db_user;
|
18 |
|
19 |
public $db_pass;
|
|
|
|
|
20 |
}
|
1 |
<?php
|
2 |
namespace Ari_Adminer\Utils;
|
3 |
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
+
|
6 |
use Ari\Utils\Options as Options;
|
7 |
|
8 |
class Config_Options extends Options {
|
19 |
public $db_user;
|
20 |
|
21 |
public $db_pass;
|
22 |
+
|
23 |
+
public $nonce;
|
24 |
}
|
includes/utils/class-config.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Utils;
|
|
|
|
|
3 |
|
4 |
define( 'ARIADMINER_CONFIG_SESSION_KEY', 'adminer_config' );
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Utils;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
define( 'ARIADMINER_CONFIG_SESSION_KEY', 'adminer_config' );
|
7 |
|
includes/utils/class-db-driver.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Utils;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Enum as Enum;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Utils;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Enum as Enum;
|
7 |
|
includes/utils/dbcheck/class-db-check.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Utils\Dbcheck;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Object_Factory as Object_Factory;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Utils\Dbcheck;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Object_Factory as Object_Factory;
|
7 |
|
includes/utils/dbcheck/class-driver-options.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Utils\Dbcheck;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Options as Options;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Utils\Dbcheck;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Options as Options;
|
7 |
|
includes/utils/dbcheck/class-driver.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Utils\Dbcheck;
|
|
|
|
|
3 |
|
4 |
class Driver {
|
5 |
protected $last_error;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Utils\Dbcheck;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Driver {
|
7 |
protected $last_error;
|
includes/utils/dbcheck/drivers/class-mysql.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Utils\Dbcheck\Drivers;
|
|
|
|
|
3 |
|
4 |
use Ari_Adminer\Utils\Dbcheck\Driver as Driver;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Utils\Dbcheck\Drivers;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari_Adminer\Utils\Dbcheck\Driver as Driver;
|
7 |
|
includes/utils/dbcheck/drivers/class-pgsql.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Utils\Dbcheck\Drivers;
|
|
|
|
|
3 |
|
4 |
use Ari_Adminer\Utils\Dbcheck\Driver as Driver;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Utils\Dbcheck\Drivers;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari_Adminer\Utils\Dbcheck\Driver as Driver;
|
7 |
|
includes/utils/dbcheck/drivers/class-sqlite.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Utils\Dbcheck\Drivers;
|
|
|
|
|
3 |
|
4 |
use Ari_Adminer\Utils\Dbcheck\Driver as Driver;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Utils\Dbcheck\Drivers;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari_Adminer\Utils\Dbcheck\Driver as Driver;
|
7 |
|
includes/views/adminer-runner/class-html.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Views\Adminer_Runner;
|
|
|
|
|
3 |
|
4 |
use Ari_Adminer\Views\Base as Base;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Views\Adminer_Runner;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari_Adminer\Views\Base as Base;
|
7 |
|
includes/views/adminer-runner/tmpl/default.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
use Ari_Adminer\Helpers\Helper as Helper;
|
3 |
use Ari_Adminer\Utils\Db_Driver as DB_Driver;
|
4 |
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
use Ari_Adminer\Helpers\Helper as Helper;
|
5 |
use Ari_Adminer\Utils\Db_Driver as DB_Driver;
|
6 |
|
includes/views/class-base.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Views;
|
|
|
|
|
3 |
|
4 |
use Ari\Views\View as View;
|
5 |
use Ari\Utils\Request as Request;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Views;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Views\View as View;
|
7 |
use Ari\Utils\Request as Request;
|
includes/views/connections/class-html.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Views\Connections;
|
|
|
|
|
3 |
|
4 |
use Ari_Adminer\Views\Base as Base;
|
5 |
use Ari_Adminer\Controls\Grid\Grid as Grid;
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Views\Connections;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari_Adminer\Views\Base as Base;
|
7 |
use Ari_Adminer\Controls\Grid\Grid as Grid;
|
includes/views/connections/tmpl/default.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
use Ari_Adminer\Helpers\Helper as Helper;
|
3 |
use Ari_Adminer\Utils\Db_Driver as DB_Driver;
|
4 |
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
use Ari_Adminer\Helpers\Helper as Helper;
|
5 |
use Ari_Adminer\Utils\Db_Driver as DB_Driver;
|
6 |
|
includes/views/connections/tmpl/toolbar.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$container_class = $data['class'];
|
3 |
?>
|
4 |
<div class="tablenav <?php echo $container_class; ?>">
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$container_class = $data['class'];
|
5 |
?>
|
6 |
<div class="tablenav <?php echo $container_class; ?>">
|
includes/views/settings/class-html.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer\Views\Settings;
|
|
|
|
|
3 |
|
4 |
use Ari_Adminer\Views\Base as Base;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer\Views\Settings;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari_Adminer\Views\Base as Base;
|
7 |
|
includes/views/settings/tmpl/default.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
<div>
|
3 |
<form method="post" action="options.php" class="settings-page">
|
4 |
<?php do_settings_sections( ARIADMINER_SETTINGS_GENERAL_PAGE ); ?>
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
settings_errors(); ?>
|
4 |
<div>
|
5 |
<form method="post" action="options.php" class="settings-page">
|
6 |
<?php do_settings_sections( ARIADMINER_SETTINGS_GENERAL_PAGE ); ?>
|
libraries/arisoft/class-ari-loader.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
final class Ari_Loader {
|
3 |
private static $prefix_list = array();
|
4 |
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
final class Ari_Loader {
|
5 |
private static $prefix_list = array();
|
6 |
|
libraries/arisoft/core/app/class-installer-options.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\App;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Options as Options;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari\App;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Options as Options;
|
7 |
|
libraries/arisoft/core/app/class-installer.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\App;
|
|
|
|
|
3 |
|
4 |
class Installer {
|
5 |
protected $options;
|
1 |
<?php
|
2 |
+
namespace Ari\App;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Installer {
|
7 |
protected $options;
|
libraries/arisoft/core/app/class-plugin-options.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\App;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Options as Options;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari\App;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Options as Options;
|
7 |
|
libraries/arisoft/core/app/class-plugin.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\App;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Request as Request;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari\App;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Request as Request;
|
7 |
|
libraries/arisoft/core/cache/class-lite.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Cache;
|
|
|
|
|
3 |
|
4 |
class Lite {
|
5 |
static protected $cache = array();
|
1 |
<?php
|
2 |
+
namespace Ari\Cache;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Lite {
|
7 |
static protected $cache = array();
|
libraries/arisoft/core/cache/class-persistence.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Cache;
|
|
|
|
|
3 |
|
4 |
class Persistence {
|
5 |
public static function set( $key, $val, $lifetime ) {
|
1 |
<?php
|
2 |
+
namespace Ari\Cache;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Persistence {
|
7 |
public static function set( $key, $val, $lifetime ) {
|
libraries/arisoft/core/controllers/class-ajax-options.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Controllers;
|
|
|
|
|
3 |
|
4 |
class Ajax_Options extends Controller_Options {
|
5 |
public $nopriv = false;
|
1 |
<?php
|
2 |
+
namespace Ari\Controllers;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Ajax_Options extends Controller_Options {
|
7 |
public $nopriv = false;
|
libraries/arisoft/core/controllers/class-ajax.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Controllers;
|
|
|
|
|
3 |
|
4 |
class Ajax extends Controller {
|
5 |
function __construct( $options = array() ) {
|
1 |
<?php
|
2 |
+
namespace Ari\Controllers;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Ajax extends Controller {
|
7 |
function __construct( $options = array() ) {
|
libraries/arisoft/core/controllers/class-controller-options.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Controllers;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Options as Options;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari\Controllers;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Options as Options;
|
7 |
|
libraries/arisoft/core/controllers/class-controller.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Controllers;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Request as Request;
|
5 |
use Ari\Utils\Object_Helper as Object_Helper;
|
1 |
<?php
|
2 |
+
namespace Ari\Controllers;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Request as Request;
|
7 |
use Ari\Utils\Object_Helper as Object_Helper;
|
libraries/arisoft/core/controllers/class-display-options.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Controllers;
|
|
|
|
|
3 |
|
4 |
class Display_Options extends Controller_Options {
|
5 |
public $view_path = '';
|
1 |
<?php
|
2 |
+
namespace Ari\Controllers;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Display_Options extends Controller_Options {
|
7 |
public $view_path = '';
|
libraries/arisoft/core/controllers/class-display.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Controllers;
|
|
|
|
|
3 |
|
4 |
class Display extends Controller {
|
5 |
function __construct( $options = array() ) {
|
1 |
<?php
|
2 |
+
namespace Ari\Controllers;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Display extends Controller {
|
7 |
function __construct( $options = array() ) {
|
libraries/arisoft/core/controls/grid/class-grid-column-options.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Controls\Grid;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Options as Options;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari\Controls\Grid;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Options as Options;
|
7 |
|
libraries/arisoft/core/controls/grid/class-grid-main-options.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Controls\Grid;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Options as Options;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari\Controls\Grid;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Options as Options;
|
7 |
|
libraries/arisoft/core/controls/grid/class-grid-options.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Controls\Grid;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Array_Helper as Array_Helper;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari\Controls\Grid;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Array_Helper as Array_Helper;
|
7 |
|
libraries/arisoft/core/controls/grid/class-grid.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Controls\Grid;
|
|
|
|
|
3 |
|
4 |
class Grid {
|
5 |
protected $id = null;
|
1 |
<?php
|
2 |
+
namespace Ari\Controls\Grid;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Grid {
|
7 |
protected $id = null;
|
libraries/arisoft/core/controls/grid/tmpl/grid.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$current_path = dirname( __FILE__ );
|
3 |
?>
|
4 |
<table id="<?php echo $this->id; ?>" class="ari-grid<?php if ( $this->options->options->class ) echo ' ' . $this->options->options->class; ?>">
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$current_path = dirname( __FILE__ );
|
5 |
?>
|
6 |
<table id="<?php echo $this->id; ?>" class="ari-grid<?php if ( $this->options->options->class ) echo ' ' . $this->options->options->class; ?>">
|
libraries/arisoft/core/controls/grid/tmpl/header.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$options = $this->options;
|
3 |
?>
|
4 |
<tr<?php if ( $options->options->header_class ): ?> class="<?php echo $options->options->header_class; ?>"<?php endif; ?>>
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$options = $this->options;
|
5 |
?>
|
6 |
<tr<?php if ( $options->options->header_class ): ?> class="<?php echo $options->options->header_class; ?>"<?php endif; ?>>
|
libraries/arisoft/core/controls/paging/class-paging-options.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Controls\Paging;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Options as Options;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari\Controls\Paging;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Options as Options;
|
7 |
|
libraries/arisoft/core/controls/paging/class-paging.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Controls\Paging;
|
|
|
|
|
3 |
|
4 |
class Paging {
|
5 |
protected $options = null;
|
1 |
<?php
|
2 |
+
namespace Ari\Controls\Paging;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Paging {
|
7 |
protected $options = null;
|
libraries/arisoft/core/controls/paging/tmpl/paging.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
$page_count = $this->get_page_count();
|
3 |
$page_num = $this->options->page_num;
|
4 |
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
$page_count = $this->get_page_count();
|
5 |
$page_num = $this->options->page_num;
|
6 |
|
libraries/arisoft/core/database/class-helper.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Database;
|
|
|
|
|
3 |
|
4 |
class Helper {
|
5 |
public static function split_sql( $sql, $prepare_query = true ) {
|
1 |
<?php
|
2 |
+
namespace Ari\Database;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Helper {
|
7 |
public static function split_sql( $sql, $prepare_query = true ) {
|
libraries/arisoft/core/entities/class-entity.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Entities;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Object_Helper as Object_Helper;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari\Entities;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Object_Helper as Object_Helper;
|
7 |
|
libraries/arisoft/core/models/class-model-options.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Models;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Options as Options;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari\Models;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Options as Options;
|
7 |
|
libraries/arisoft/core/models/class-model.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Models;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Object_Helper as Object_Helper;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari\Models;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Object_Helper as Object_Helper;
|
7 |
|
libraries/arisoft/core/utils/class-array-helper.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Utils;
|
|
|
|
|
3 |
|
4 |
class Array_Helper {
|
5 |
static public function get_value( $arr, $key, $default = null, $filter = null ) {
|
1 |
<?php
|
2 |
+
namespace Ari\Utils;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Array_Helper {
|
7 |
static public function get_value( $arr, $key, $default = null, $filter = null ) {
|
libraries/arisoft/core/utils/class-date.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Utils;
|
|
|
|
|
3 |
|
4 |
class Date {
|
5 |
static public function db_gmt_to_local( $db_date, $format = null ) {
|
1 |
<?php
|
2 |
+
namespace Ari\Utils;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Date {
|
7 |
static public function db_gmt_to_local( $db_date, $format = null ) {
|
libraries/arisoft/core/utils/class-enum.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Utils;
|
|
|
|
|
3 |
|
4 |
class Enum {
|
5 |
static public function exists( $val ) {
|
1 |
<?php
|
2 |
+
namespace Ari\Utils;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Enum {
|
7 |
static public function exists( $val ) {
|
libraries/arisoft/core/utils/class-filter.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Utils;
|
|
|
|
|
3 |
|
4 |
class Filter {
|
5 |
public static function filter( $val, $filter = null ) {
|
1 |
<?php
|
2 |
+
namespace Ari\Utils;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Filter {
|
7 |
public static function filter( $val, $filter = null ) {
|
libraries/arisoft/core/utils/class-object-factory.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Utils;
|
|
|
|
|
3 |
|
4 |
class Object_Factory {
|
5 |
static public function get_object( $name, $ns, $params = array() ) {
|
1 |
<?php
|
2 |
+
namespace Ari\Utils;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Object_Factory {
|
7 |
static public function get_object( $name, $ns, $params = array() ) {
|
libraries/arisoft/core/utils/class-object-helper.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Utils;
|
|
|
|
|
3 |
|
4 |
class Object_Helper {
|
5 |
public static function extract_name( $obj ) {
|
1 |
<?php
|
2 |
+
namespace Ari\Utils;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Object_Helper {
|
7 |
public static function extract_name( $obj ) {
|
libraries/arisoft/core/utils/class-options.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Utils;
|
|
|
|
|
3 |
|
4 |
class Options {
|
5 |
function __construct( $options = array() ) {
|
1 |
<?php
|
2 |
+
namespace Ari\Utils;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Options {
|
7 |
function __construct( $options = array() ) {
|
libraries/arisoft/core/utils/class-request.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Utils;
|
|
|
|
|
3 |
|
4 |
class Request {
|
5 |
static $root_url = null;
|
1 |
<?php
|
2 |
+
namespace Ari\Utils;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Request {
|
7 |
static $root_url = null;
|
libraries/arisoft/core/utils/class-response.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Utils;
|
|
|
|
|
3 |
|
4 |
class Response {
|
5 |
public static function redirect( $url, $status = 302 ) {
|
1 |
<?php
|
2 |
+
namespace Ari\Utils;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Response {
|
7 |
public static function redirect( $url, $status = 302 ) {
|
libraries/arisoft/core/utils/class-sort-utils.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Utils;
|
|
|
|
|
3 |
|
4 |
class Sort_Utils {
|
5 |
private $key;
|
1 |
<?php
|
2 |
+
namespace Ari\Utils;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
class Sort_Utils {
|
7 |
private $key;
|
libraries/arisoft/core/utils/class-utils.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Utils;
|
|
|
|
|
3 |
|
4 |
define( 'ARI_UTILS_OPENSSL_RPB_SUPPORTED', function_exists( 'openssl_random_pseudo_bytes' ) );
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari\Utils;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
define( 'ARI_UTILS_OPENSSL_RPB_SUPPORTED', function_exists( 'openssl_random_pseudo_bytes' ) );
|
7 |
|
libraries/arisoft/core/views/class-view-options.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Views;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Options as Options;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari\Views;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Options as Options;
|
7 |
|
libraries/arisoft/core/views/class-view.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Views;
|
|
|
|
|
3 |
|
4 |
use Ari\Utils\Filter as Filter;
|
5 |
use Ari\Utils\Object_Helper as Object_Helper;
|
1 |
<?php
|
2 |
+
namespace Ari\Views;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Utils\Filter as Filter;
|
7 |
use Ari\Utils\Object_Helper as Object_Helper;
|
libraries/arisoft/core/wordpress/class-security.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari\Wordpress;
|
|
|
|
|
3 |
|
4 |
use Ari\Cache\Lite as Cache;
|
5 |
|
1 |
<?php
|
2 |
+
namespace Ari\Wordpress;
|
3 |
+
|
4 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\Cache\Lite as Cache;
|
7 |
|
libraries/arisoft/loader.php
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
if ( ! class_exists( 'Ari_Loader' ) )
|
3 |
require_once dirname( __FILE__ ) . '/class-ari-loader.php';
|
4 |
|
1 |
+
<?php
|
2 |
+
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
+
|
4 |
if ( ! class_exists( 'Ari_Loader' ) )
|
5 |
require_once dirname( __FILE__ ) . '/class-ari-loader.php';
|
6 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wp-quiz.ari-soft.com/plugins/wordpress-adminer.html
|
|
4 |
Tags: adminer, sql, database, mysql, report, sqlite, table, postgresql, dump, backup, import, export, phpmyadmin
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 5.1.1
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -74,11 +74,17 @@ Sure, it is available [here](http://www.ari-soft.com/docs/wordpress/ari-adminer/
|
|
74 |
|
75 |
== Changelog ==
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
= 1.1.14 =
|
78 |
* Fix security issue
|
79 |
|
80 |
= 1.1.13 =
|
81 |
-
* Update Adminer to v.
|
82 |
|
83 |
= 1.1.12 =
|
84 |
* Update Adminer to v. 4.6.3
|
@@ -151,6 +157,12 @@ Sure, it is available [here](http://www.ari-soft.com/docs/wordpress/ari-adminer/
|
|
151 |
|
152 |
== Upgrade Notice ==
|
153 |
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
= 1.1.14 =
|
155 |
* Fix security issue
|
156 |
|
4 |
Tags: adminer, sql, database, mysql, report, sqlite, table, postgresql, dump, backup, import, export, phpmyadmin
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 5.1.1
|
7 |
+
Stable tag: 1.2.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
74 |
|
75 |
== Changelog ==
|
76 |
|
77 |
+
= 1.2.0 =
|
78 |
+
* Improve security
|
79 |
+
|
80 |
+
= 1.1.15 =
|
81 |
+
* Add additional security checks to code
|
82 |
+
|
83 |
= 1.1.14 =
|
84 |
* Fix security issue
|
85 |
|
86 |
= 1.1.13 =
|
87 |
+
* Update Adminer to v. 4.7.1
|
88 |
|
89 |
= 1.1.12 =
|
90 |
* Update Adminer to v. 4.6.3
|
157 |
|
158 |
== Upgrade Notice ==
|
159 |
|
160 |
+
= 1.2.0 =
|
161 |
+
* Improve security
|
162 |
+
|
163 |
+
= 1.1.15 =
|
164 |
+
* Add additional security checks to code
|
165 |
+
|
166 |
= 1.1.14 =
|
167 |
* Fix security issue
|
168 |
|