]> andersk Git - sql-web.git/blobdiff - test.php
login page links fixed
[sql-web.git] / test.php
index a633147b657ffc6752d40e9ebc57ea90814e99e5..7876ba8ad8128b449b9508d98133bfbd2ae0edbf 100755 (executable)
--- a/test.php
+++ b/test.php
@@ -6,8 +6,7 @@ require_once('mitsql.lib.php');
 include 'tpl/head.php';
 
 function getManagedDBs($owner=null) {
-//     $databases = array_keys(fetchRows(DBSelect('SHOW DATABASES'),'Database'));
-       $databases = array_keys(fetchRows(DBSelect('SELECT Name FROM DB'),'Name'));
+       $databases = array_keys(fetchRows(DBSelect('SELECT Name FROM DB WHERE bEnabled=1'),'Name'));
        $owners = array();
        foreach($databases as $database) {
                if (stristr($database, DELIMETER)) {
@@ -24,10 +23,12 @@ function getManagedDBs($owner=null) {
 /*
 $g = getManagedDBs();
 print_r($g);
-*/
 
 $User = new User($Login->getUserId());
 print_r($User->getDBList());
+*/
+
+checkQuotas();
 
 include 'tpl/foot.php';
 ?>
This page took 0.300464 seconds and 4 git commands to generate.