mirror of
https://github.com/vrana/adminer.git
synced 2025-08-17 03:53:59 +02:00
PHP: Use namespace
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
namespace Adminer;
|
||||
|
||||
page_header(lang('Server'), "", false);
|
||||
|
||||
if ($adminer->homepage()) {
|
||||
|
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
namespace Adminer;
|
||||
|
||||
class Adminer {
|
||||
var $operators = array("<=", ">=");
|
||||
var $_values = array();
|
||||
|
@@ -1,2 +1,4 @@
|
||||
<?php
|
||||
namespace Adminer;
|
||||
|
||||
$connection->select_db($adminer->database());
|
||||
|
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
namespace Adminer;
|
||||
|
||||
/** Encode e-mail header in UTF-8
|
||||
* @param string
|
||||
* @return string
|
||||
|
@@ -7,6 +7,8 @@
|
||||
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
|
||||
*/
|
||||
|
||||
namespace Adminer;
|
||||
|
||||
include "../adminer/include/bootstrap.inc.php";
|
||||
$drivers[DRIVER] = lang('Login');
|
||||
|
||||
|
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
namespace Adminer;
|
||||
|
||||
if ($_GET["script"] == "kill") {
|
||||
$connection->query("KILL " . number($_POST["kill"]));
|
||||
|
||||
|
Reference in New Issue
Block a user