diff options
author | Amenadiel <amenadiel@gmail.com> | 2020-01-15 01:00:49 +0300 |
---|---|---|
committer | Amenadiel <amenadiel@gmail.com> | 2020-01-15 01:00:49 +0300 |
commit | d7fe9495f5f5cd716ae3eed21d2d87dfe4d44bd1 (patch) | |
tree | 5ff1c6950462d9c2f88e7848cadf2baa3d182b58 /src/controllers/SchemasController.php | |
parent | 0b3571deb5969172e3ed375a7cbc4f560812cc9f (diff) |
adds config key to enable debugger handlers
Diffstat (limited to 'src/controllers/SchemasController.php')
-rw-r--r-- | src/controllers/SchemasController.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/controllers/SchemasController.php b/src/controllers/SchemasController.php index 48b4f13e..3388a844 100644 --- a/src/controllers/SchemasController.php +++ b/src/controllers/SchemasController.php @@ -1,7 +1,7 @@ <?php /** - * PHPPgAdmin v6.0.0-RC1. + * PHPPgAdmin v6.0.0-RC2 */ namespace PHPPgAdmin\Controller; @@ -10,6 +10,8 @@ use PHPPgAdmin\Decorators\Decorator; /** * Base controller class. + * + * @package PHPPgAdmin */ class SchemasController extends BaseController { @@ -95,13 +97,14 @@ class SchemasController extends BaseController $this->printMsg($msg); // Check that the DB actually supports schemas - $schemas = $data->getSchemas(); + $schemas = $data->getSchemas(); + $destination = $this->container->utils->getDestinationWithLastTab('schema'); $columns = [ 'schema' => [ 'title' => $this->lang['strschema'], 'field' => Decorator::field('nspname'), - 'url' => \SUBFOLDER."/redirect/schema?{$this->misc->href}&", + 'url' => \SUBFOLDER."{$destination}&", 'vars' => ['schema' => 'nspname'], ], 'owner' => [ |