phase 1 of rearranging source tree. move all public_html files into root. rename...
authorchriskl <chriskl>
Sat, 18 Jan 2003 06:38:36 +0000 (06:38 +0000)
committerchriskl <chriskl>
Sat, 18 Jan 2003 06:38:36 +0000 (06:38 +0000)
59 files changed:
INSTALL
all_db.php [moved from public_html/all_db.php with 97% similarity]
browser.php [moved from public_html/browser.php with 83% similarity]
classes/Misc.php
classes/database/ADODB_base.php
classes/database/BaseDB.php
classes/database/MySQL.php
classes/database/Postgres.php
classes/database/Postgres71.php
classes/database/Postgres72.php
classes/database/Postgres73.php
classes/database/Postgres74.php
conf/config.inc.php-dist
constraints.php [moved from public_html/constraints.php with 97% similarity]
database.php [moved from public_html/database.php with 98% similarity]
databases.php [moved from public_html/databases.php with 72% similarity]
display.php [moved from public_html/display.php with 95% similarity]
functions.php [moved from public_html/functions.php with 99% similarity]
groups.php [moved from public_html/groups.php with 98% similarity]
images/themes/default/branch.gif [new file with mode: 0644]
images/themes/default/branchbottom.gif [new file with mode: 0644]
images/themes/default/branchtop.gif [new file with mode: 0644]
images/themes/default/database.gif [new file with mode: 0644]
images/themes/default/functions.gif [new file with mode: 0644]
images/themes/default/line.gif [new file with mode: 0644]
images/themes/default/linebottom.gif [new file with mode: 0644]
images/themes/default/minus.gif [new file with mode: 0644]
images/themes/default/minusbottom.gif [new file with mode: 0644]
images/themes/default/minustop.gif [new file with mode: 0644]
images/themes/default/operators.gif [new file with mode: 0644]
images/themes/default/plus.gif [new file with mode: 0644]
images/themes/default/plusbottom.gif [new file with mode: 0644]
images/themes/default/plustop.gif [new file with mode: 0644]
images/themes/default/sequences.gif [new file with mode: 0644]
images/themes/default/server.gif [new file with mode: 0644]
images/themes/default/tables.gif [new file with mode: 0644]
images/themes/default/title.gif [new file with mode: 0644]
images/themes/default/triggers.gif [new file with mode: 0644]
images/themes/default/views.gif [new file with mode: 0644]
index.php [moved from public_html/index.php with 82% similarity]
indexes.php [moved from public_html/indexes.php with 98% similarity]
intro.php [moved from public_html/intro.php with 66% similarity]
lang/english.php
libraries/errorhandler.inc.php
libraries/lib.inc.php
login.php [moved from public_html/login.php with 96% similarity]
logout.php [moved from public_html/logout.php with 70% similarity]
operators.php [moved from public_html/operators.php with 97% similarity]
privileges.php [moved from public_html/privileges.php with 99% similarity]
public_html/indicies.php [deleted file]
rules.php [moved from public_html/rules.php with 98% similarity]
sequences.php [moved from public_html/sequences.php with 98% similarity]
tables.php [moved from public_html/tables.php with 99% similarity]
tblexport.php [moved from public_html/tblexport.php with 95% similarity]
tblproperties.php [moved from public_html/tblproperties.php with 98% similarity]
topbar.php [moved from public_html/topbar.php with 90% similarity]
types.php [moved from public_html/types.php with 99% similarity]
users.php [moved from public_html/users.php with 98% similarity]
views.php [moved from public_html/views.php with 98% similarity]

diff --git a/INSTALL b/INSTALL
index ef5ba363442df1a1daa22df0754072a21462e104..b0e16653ad7a6e4aca1cbb1e45e5f1f8e0d657f8 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,24 +1,17 @@
 WebDB Installation Guide
 ------------------------
 
-We have tried to code WebDB in a secure fashion, and as such it is a little
-more difficult installing WebDB than phpPgAdmin.
-
 1. Unpack your download
 
    tar -xvzf webdb-*.tar.gz
 
-2. The webdb/public_html directory is the only directory that should be
-   made public.  You should prevent people from browsing to any other
-   directory.
-
-3. Configure WebDB
+2. Configure WebDB
 
    cp webdb/config.inc.php-dist webdb/config.inc.php
 
    Then edit config.inc.php and configure WebDB to your requirements.
 
-4. Configure your PHP installation (optional)
+3. Configure your PHP installation (optional)
 
    There are several settings you can use for optimal and more secure
    WebDB operation.  WebDB will still function regardless of these
similarity index 97%
rename from public_html/all_db.php
rename to all_db.php
index cacfc368a771f09d229e0915b00aa7677c5781d3..daca43c62a4566ece13c5e91edaad44835654915 100644 (file)
@@ -3,11 +3,11 @@
        /**
         * Manage databases within a server
         *
-        * $Id: all_db.php,v 1.4 2003/01/06 04:39:23 chriskl Exp $
+        * $Id: all_db.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
similarity index 83%
rename from public_html/browser.php
rename to browser.php
index 4c36073e7322f1bca7e1e6325b05aa5909275823..36a524624c4221d1bcf5c499b843d7f50a464d70 100644 (file)
@@ -5,20 +5,20 @@
         * if you click on a database it shows a list of database objects in that
         * database.
         *
-        * $Id: browser.php,v 1.19 2003/01/04 07:08:03 chriskl Exp $
+        * $Id: browser.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
        
        // Include tree classes
-       include_once('class.tree/class.tree.php');
+       include_once('classes/class.tree/class.tree.php');
 
        // Output header
        $misc->printHeader();
 
        // Construct expanding tree
-       $tree = new Tree ('class.tree');
+       $tree = new Tree ('classes/class.tree');
        $tree->set_frame ('detail');
        $root  = $tree->open_tree ('<a href=\"all_db.php\" target=\"detail\">'. htmlspecialchars($confServers[$_SESSION['webdbServerID']]['desc']) .'</a>', '');
 
                                                        $tree->add_document($table_node, htmlspecialchars($tables->f[$data->tbFields['tbname']]), 
                                                                'tblproperties.php?database=' . urlencode($databases->f[$data->dbFields['dbname']]) . '&schema=' .
                                                                urlencode($schemas->f[$data->nspFields['nspname']]) . '&table=' .
-                                                               urlencode($tables->f[$data->tbFields['tbname']]), 'detail', "../images/themes/{$guiTheme}/tables.gif");
+                                                               urlencode($tables->f[$data->tbFields['tbname']]), 'detail', "../../images/themes/{$guiTheme}/tables.gif");
                                                        $tables->moveNext();
                                                }
                                        }
                                        if ($data->hasViews())
-                                               $tree->add_document($schemanode, $strViews, "views.php?{$querystr}", 'detail', "../images/themes/{$guiTheme}/views.gif");
+                                               $tree->add_document($schemanode, $strViews, "views.php?{$querystr}", 'detail', "../../images/themes/{$guiTheme}/views.gif");
                                        if ($data->hasSequences())
-                                               $tree->add_document($schemanode, $strSequences, "sequences.php?{$querystr}", 'detail', "../images/themes/{$guiTheme}/sequences.gif");
+                                               $tree->add_document($schemanode, $strSequences, "sequences.php?{$querystr}", 'detail', "../../images/themes/{$guiTheme}/sequences.gif");
                                        if ($data->hasFunctions())
-                                               $tree->add_document($schemanode, $strFunctions, "functions.php?{$querystr}", 'detail', "../images/themes/{$guiTheme}/functions.gif");
+                                               $tree->add_document($schemanode, $strFunctions, "functions.php?{$querystr}", 'detail', "../../images/themes/{$guiTheme}/functions.gif");
 //                                     if ($data->hasOperators())
-//                                             $tree->add_document($schemanode, $strOperators, "operators.php?{$querystr}", 'detail', "../images/themes/{$guiTheme}/operators.gif");
+//                                             $tree->add_document($schemanode, $strOperators, "operators.php?{$querystr}", 'detail', "../../images/themes/{$guiTheme}/operators.gif");
                                        if ($data->hasTypes())
                                                $tree->add_document($schemanode, $strTypes, "types.php?{$querystr}", 'detail');
 //                                     if ($data->hasAggregates())
                                        while (!$tables->EOF) {
                                                $tree->add_document($table_node, htmlspecialchars($tables->f[$data->tbFields['tbname']]), 
                                                        'tblproperties.php?database=' . urlencode($databases->f[$data->dbFields['dbname']]) . '&table=' .
-                                                       urlencode($tables->f[$data->tbFields['tbname']]), 'detail', "../images/themes/{$guiTheme}/tables.gif");
+                                                       urlencode($tables->f[$data->tbFields['tbname']]), 'detail', "../../images/themes/{$guiTheme}/tables.gif");
                                                $tables->moveNext();
                                        }
                                }
                                if ($data->hasViews())
-                                       $tree->add_document($node, $strViews, 'views.php?database=' . urlencode($databases->f[$data->dbFields['dbname']]), 'detail', "../images/themes/{$guiTheme}/views.gif");
+                                       $tree->add_document($node, $strViews, 'views.php?database=' . urlencode($databases->f[$data->dbFields['dbname']]), 'detail', "../../images/themes/{$guiTheme}/views.gif");
                                if ($data->hasSequences())
-                                       $tree->add_document($node, $strSequences, 'sequences.php?database=' . urlencode($databases->f[$data->dbFields['dbname']]), 'detail', "../images/themes/{$guiTheme}/sequences.gif");
+                                       $tree->add_document($node, $strSequences, 'sequences.php?database=' . urlencode($databases->f[$data->dbFields['dbname']]), 'detail', "../../images/themes/{$guiTheme}/sequences.gif");
                                if ($data->hasFunctions())
-                                       $tree->add_document($node, $strFunctions, 'functions.php?database=' . urlencode($databases->f[$data->dbFields['dbname']]), 'detail', "../images/themes/{$guiTheme}/functions.gif");
+                                       $tree->add_document($node, $strFunctions, 'functions.php?database=' . urlencode($databases->f[$data->dbFields['dbname']]), 'detail', "../../images/themes/{$guiTheme}/functions.gif");
 //                             if ($data->hasOperators())
-//                                     $tree->add_document($node, $strOperators, 'operators.php?database=' . urlencode($databases->f[$data->dbFields['dbname']]), 'detail', "../images/themes/{$guiTheme}/operators.gif");
+//                                     $tree->add_document($node, $strOperators, 'operators.php?database=' . urlencode($databases->f[$data->dbFields['dbname']]), 'detail', "../../images/themes/{$guiTheme}/operators.gif");
                                if ($data->hasTypes())
                                        $tree->add_document($node, $strTypes, 'types.php?database=' . urlencode($databases->f[$data->dbFields['dbname']]), 'detail');
 //                             if ($data->hasAggregates())
@@ -94,7 +94,7 @@
                        }
                } else {
                        $node = $tree->add_document($root, htmlspecialchars($databases->f[$data->dbFields['dbname']]), 
-                               "{$_SERVER['PHP_SELF']}?database=" . urlencode($databases->f[$data->dbFields['dbname']]), '_self', "../images/themes/{$guiTheme}/database.gif");
+                               "{$_SERVER['PHP_SELF']}?database=" . urlencode($databases->f[$data->dbFields['dbname']]), '_self', "../../images/themes/{$guiTheme}/database.gif");
                }               
 
                $databases->moveNext();
    // Output footer
    $misc->printFooter();
 
-?>
\ No newline at end of file
+?>
index 3d2005e8ad1f89096bda99461323588e58a98f55..c9fdd1bc6f978887010704de4fde94b185c8605a 100644 (file)
@@ -2,7 +2,7 @@
        /**
         * Class to hold various commonly used functions
         *
-        * $Id: Misc.php,v 1.10 2003/01/16 15:20:25 chriskl Exp $
+        * $Id: Misc.php,v 1.11 2003/01/18 06:38:36 chriskl Exp $
         */
         
        class Misc {
@@ -68,7 +68,7 @@
                 * Creates a database accessor
                 */
                function &getDatabaseAccessor($type, $host, $port, $database, $username, $password) {
-                       include_once('../classes/database/' . $type . '.php');
+                       include_once('classes/database/' . $type . '.php');
                        $localData = new $type( $host,
                                                                                        $port,
                                                                                        $database,
@@ -99,7 +99,7 @@
 
                                // Theme
                                echo "<style type=\"text/css\">\n<!--\n";
-                               include("../themes/{$guiTheme}/global.css");
+                               include("themes/{$guiTheme}/global.css");
                                echo "\n-->\n</style>\n";
                                echo "</head>\n";
                                if ($doBody) echo "<body>\n";
index 3366858492933e90bd600e2c9ec068316877d9cf..69afc2bc2a78da46abadc1ea38c7fe3f4cf86d37 100644 (file)
@@ -3,11 +3,11 @@
 /*
  * Parent class of all ADODB objects.
  *
- * $Id: ADODB_base.php,v 1.8 2003/01/11 04:32:37 chriskl Exp $
+ * $Id: ADODB_base.php,v 1.9 2003/01/18 06:38:37 chriskl Exp $
  */
 
-include_once('../libraries/errorhandler.inc.php');
-include_once('../libraries/adodb/adodb.inc.php');
+include_once('libraries/errorhandler.inc.php');
+include_once('libraries/adodb/adodb.inc.php');
 
 class ADODB_base {
 
index c4a60a78dfb4b02d44218c9630faa42f89b50bb6..c34ce1908634e970343a9a985c6e9ef63c6f3fc9 100644 (file)
@@ -4,10 +4,10 @@
  * A class that implements the DB interface for Postgres
  * Note: This class uses ADODB and returns RecordSets.
  *
- * $Id: BaseDB.php,v 1.7 2003/01/11 04:32:38 chriskl Exp $
+ * $Id: BaseDB.php,v 1.8 2003/01/18 06:38:37 chriskl Exp $
  */
 
-include_once('../classes/database/ADODB_base.php');
+include_once('classes/database/ADODB_base.php');
 
 class BaseDB extends ADODB_base {
 
index 39f9801ccf262f242fa1dd97afd2d37063522de8..62349cb2f77b9f11b17560787c09636ce85d5bab 100644 (file)
@@ -3,10 +3,10 @@
 /**\r
  * A class that implements the DB interface for MySQL 3.23 and up\r
  *\r
- * $Id: MySQL.php,v 1.4 2003/01/08 05:42:47 chriskl Exp $\r
+ * $Id: MySQL.php,v 1.5 2003/01/18 06:38:37 chriskl Exp $\r
  */\r
 \r
-include_once('../classes/database/BaseDB.php');\r
+include_once('classes/database/BaseDB.php');\r
 \r
 class MySQL extends BaseDB {\r
 \r
index 60aee8844721f1608345346171678c8b47a1a3f9..f848d2c8f337d053760c6c33a1bff2ee112181f3 100755 (executable)
@@ -4,12 +4,12 @@
  * A class that implements the DB interface for Postgres
  * Note: This class uses ADODB and returns RecordSets.
  *
- * $Id: Postgres.php,v 1.41 2003/01/16 14:45:30 chriskl Exp $
+ * $Id: Postgres.php,v 1.42 2003/01/18 06:38:37 chriskl Exp $
  */
 
 // @@@ THOUGHT: What about inherits? ie. use of ONLY???
 
-include_once('../classes/database/BaseDB.php');
+include_once('classes/database/BaseDB.php');
 
 class Postgres extends BaseDB {
 
index 742c35b6378f78044e7870f3cd61857f967ad9e7..d8b19404033fb9166030e0fea20a305efa0c09db 100644 (file)
@@ -4,12 +4,12 @@
  * A class that implements the DB interface for Postgres
  * Note: This class uses ADODB and returns RecordSets.
  *
- * $Id: Postgres71.php,v 1.21 2003/01/04 08:55:28 chriskl Exp $
+ * $Id: Postgres71.php,v 1.22 2003/01/18 06:38:37 chriskl Exp $
  */
 
 // @@@ THOUGHT: What about inherits? ie. use of ONLY???
 
-include_once('../classes/database/Postgres.php');
+include_once('classes/database/Postgres.php');
 
 class Postgres71 extends Postgres {
 
index b9b2947719b8582b0fd31cf72b8d5e9595937fc7..6a70e71280350aa58c720ce5a45021de4fc09934 100644 (file)
@@ -4,11 +4,11 @@
  * A class that implements the DB interface for Postgres
  * Note: This class uses ADODB and returns RecordSets.
  *
- * $Id: Postgres72.php,v 1.24 2003/01/17 23:10:10 xzilla Exp $
+ * $Id: Postgres72.php,v 1.25 2003/01/18 06:38:37 chriskl Exp $
  */
 
 
-require_once('../classes/database/Postgres71.php');
+include_once('classes/database/Postgres71.php');
 
 class Postgres72 extends Postgres71 {
 
index 94997c306d13119c418467dd0684928cac666d5a..f536dd3d81fbb1d466ce63f20002130a53c441f1 100644 (file)
@@ -4,12 +4,12 @@
  * A class that implements the DB interface for Postgres
  * Note: This class uses ADODB and returns RecordSets.
  *
- * $Id: Postgres73.php,v 1.16 2003/01/16 15:13:15 chriskl Exp $
+ * $Id: Postgres73.php,v 1.17 2003/01/18 06:38:37 chriskl Exp $
  */
 
 // @@@ THOUGHT: What about inherits? ie. use of ONLY???
 
-include_once('../classes/database/Postgres72.php');
+include_once('classes/database/Postgres72.php');
 
 class Postgres73 extends Postgres72 {
 
index 946e21794c44b69922050bc571a44b9c98e01085..793bfe73d96c1a2a8d4fa54dffea20ba4cb2a42b 100644 (file)
@@ -4,10 +4,10 @@
  * A class that implements the DB interface for Postgres
  * Note: This class uses ADODB and returns RecordSets.
  *
- * $Id: Postgres74.php,v 1.1 2003/01/16 15:06:13 chriskl Exp $
+ * $Id: Postgres74.php,v 1.2 2003/01/18 06:38:37 chriskl Exp $
  */
 
-include_once('../classes/database/Postgres73.php');
+include_once('classes/database/Postgres73.php');
 
 class Postgres74 extends Postgres73 {
 
index 8d19c27385a8d837b8f771e1a02547788d69ede6..a66b4d6312c6df1d3ea6d507dfdefeb1ffe66586 100644 (file)
@@ -4,15 +4,12 @@
         * Central WebDB configuration.  As a user you may modify the
         * settings here for your particular configuration.
         *
-        * $Id: config.inc.php-dist,v 1.7 2003/01/12 04:37:36 chriskl Exp $
+        * $Id: config.inc.php-dist,v 1.8 2003/01/18 06:38:37 chriskl Exp $
         */
 
        // Set error reporting level
        error_reporting(E_ALL);
 
-       // App settings
-       $appBase = '../public_html';
-
        // Default language setting.  eg 'english', 'polish', etc.
        $appDefaultLanguage = 'english';
 
@@ -58,6 +55,6 @@
        $appConfVersion = 2;
 
        // Main library
-       include_once('../libraries/lib.inc.php');
+       include_once('libraries/lib.inc.php');
        
 ?>
similarity index 97%
rename from public_html/constraints.php
rename to constraints.php
index 9334058279463b79b068cab345d7286de38089f1..01842158a4c4c6be9da71aea7ba424b2b1698df3 100644 (file)
@@ -3,11 +3,11 @@
        /**
         * List constraints on a table
         *
-        * $Id: constraints.php,v 1.2 2003/01/16 15:04:28 chriskl Exp $
+        * $Id: constraints.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        $PHP_SELF = $_SERVER['PHP_SELF'];
similarity index 98%
rename from public_html/database.php
rename to database.php
index dbf58d995e73963c52cebb6e03442fcd907aa9cd..8aafa147c93be72253882547a7f003dfe9ec9f86 100755 (executable)
@@ -3,11 +3,11 @@
        /**
         * Manage schemas within a database
         *
-        * $Id: database.php,v 1.7 2003/01/04 07:56:23 chriskl Exp $
+        * $Id: database.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
similarity index 72%
rename from public_html/databases.php
rename to databases.php
index 35bb2418d978e463a64b7ab369f54063fab9b7e3..9a4bc8d17e47f1fd6d41f95d24c41191b437c8d8 100755 (executable)
@@ -4,11 +4,11 @@
         * List databases in a server
         * @param $webdbServerID The ID of the current server
         *
-        * $Id: databases.php,v 1.7 2003/01/04 07:08:03 chriskl Exp $
+        * $Id: databases.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
 
        $misc->printHeader($strDatabases);
 ?>
@@ -19,4 +19,4 @@
 
 <?php
        $misc->printFooter();
-?>
\ No newline at end of file
+?>
similarity index 95%
rename from public_html/display.php
rename to display.php
index b1780ab75b5ebbb2c04e45a8f227092ff05a5a7a..54cd8b0dd1d3a999883d4a1e839de3a485d4fabc 100644 (file)
@@ -9,11 +9,11 @@
         * @param $return_desc The return link name
         * @param $page The current page
         *
-        * $Id: display.php,v 1.1 2003/01/10 06:55:02 chriskl Exp $
+        * $Id: display.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        $PHP_SELF = $_SERVER['PHP_SELF'];
similarity index 99%
rename from public_html/functions.php
rename to functions.php
index 280c28d44cc3aa6e616f68a40053067c1ab21f90..82ddfc83a57799de6ae436da6767d2acb43ee618 100644 (file)
@@ -3,11 +3,11 @@
        /**
         * Manage functions in a database
         *
-        * $Id: functions.php,v 1.9 2003/01/09 06:40:33 chriskl Exp $
+        * $Id: functions.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
similarity index 98%
rename from public_html/groups.php
rename to groups.php
index c6d14efb099c60ff92f99806c28faaa43219e2e3..6594c7dbad7fe17d1746caae4ebc60478bafd6d4 100644 (file)
@@ -3,11 +3,11 @@
        /**
         * Manage groups in a database cluster
         *
-        * $Id: groups.php,v 1.3 2003/01/14 00:28:18 xzilla Exp $
+        * $Id: groups.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
diff --git a/images/themes/default/branch.gif b/images/themes/default/branch.gif
new file mode 100644 (file)
index 0000000..32e0f68
Binary files /dev/null and b/images/themes/default/branch.gif differ
diff --git a/images/themes/default/branchbottom.gif b/images/themes/default/branchbottom.gif
new file mode 100644 (file)
index 0000000..55ceb45
Binary files /dev/null and b/images/themes/default/branchbottom.gif differ
diff --git a/images/themes/default/branchtop.gif b/images/themes/default/branchtop.gif
new file mode 100644 (file)
index 0000000..f6bd127
Binary files /dev/null and b/images/themes/default/branchtop.gif differ
diff --git a/images/themes/default/database.gif b/images/themes/default/database.gif
new file mode 100644 (file)
index 0000000..369510f
Binary files /dev/null and b/images/themes/default/database.gif differ
diff --git a/images/themes/default/functions.gif b/images/themes/default/functions.gif
new file mode 100644 (file)
index 0000000..34a6685
Binary files /dev/null and b/images/themes/default/functions.gif differ
diff --git a/images/themes/default/line.gif b/images/themes/default/line.gif
new file mode 100644 (file)
index 0000000..a567ef9
Binary files /dev/null and b/images/themes/default/line.gif differ
diff --git a/images/themes/default/linebottom.gif b/images/themes/default/linebottom.gif
new file mode 100644 (file)
index 0000000..a960f1f
Binary files /dev/null and b/images/themes/default/linebottom.gif differ
diff --git a/images/themes/default/minus.gif b/images/themes/default/minus.gif
new file mode 100644 (file)
index 0000000..cfb987a
Binary files /dev/null and b/images/themes/default/minus.gif differ
diff --git a/images/themes/default/minusbottom.gif b/images/themes/default/minusbottom.gif
new file mode 100644 (file)
index 0000000..cfb987a
Binary files /dev/null and b/images/themes/default/minusbottom.gif differ
diff --git a/images/themes/default/minustop.gif b/images/themes/default/minustop.gif
new file mode 100644 (file)
index 0000000..cfb987a
Binary files /dev/null and b/images/themes/default/minustop.gif differ
diff --git a/images/themes/default/operators.gif b/images/themes/default/operators.gif
new file mode 100644 (file)
index 0000000..6d18305
Binary files /dev/null and b/images/themes/default/operators.gif differ
diff --git a/images/themes/default/plus.gif b/images/themes/default/plus.gif
new file mode 100644 (file)
index 0000000..1d763cc
Binary files /dev/null and b/images/themes/default/plus.gif differ
diff --git a/images/themes/default/plusbottom.gif b/images/themes/default/plusbottom.gif
new file mode 100644 (file)
index 0000000..1d763cc
Binary files /dev/null and b/images/themes/default/plusbottom.gif differ
diff --git a/images/themes/default/plustop.gif b/images/themes/default/plustop.gif
new file mode 100644 (file)
index 0000000..1d763cc
Binary files /dev/null and b/images/themes/default/plustop.gif differ
diff --git a/images/themes/default/sequences.gif b/images/themes/default/sequences.gif
new file mode 100644 (file)
index 0000000..57a0006
Binary files /dev/null and b/images/themes/default/sequences.gif differ
diff --git a/images/themes/default/server.gif b/images/themes/default/server.gif
new file mode 100644 (file)
index 0000000..50cf305
Binary files /dev/null and b/images/themes/default/server.gif differ
diff --git a/images/themes/default/tables.gif b/images/themes/default/tables.gif
new file mode 100644 (file)
index 0000000..ed898cc
Binary files /dev/null and b/images/themes/default/tables.gif differ
diff --git a/images/themes/default/title.gif b/images/themes/default/title.gif
new file mode 100644 (file)
index 0000000..8db2d71
Binary files /dev/null and b/images/themes/default/title.gif differ
diff --git a/images/themes/default/triggers.gif b/images/themes/default/triggers.gif
new file mode 100644 (file)
index 0000000..a777d0a
Binary files /dev/null and b/images/themes/default/triggers.gif differ
diff --git a/images/themes/default/views.gif b/images/themes/default/views.gif
new file mode 100644 (file)
index 0000000..7b0636c
Binary files /dev/null and b/images/themes/default/views.gif differ
similarity index 82%
rename from public_html/index.php
rename to index.php
index 0561e1f380de2daa09d4dc266c307f25441a457b..aebf6686731d1046b77688824862efbb5637dba7 100755 (executable)
+++ b/index.php
@@ -3,11 +3,11 @@
        /**
         * Main access point to the app.
         *
-        * $Id: index.php,v 1.11 2003/01/04 07:08:03 chriskl Exp $
+        * $Id: index.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
        
        $misc->printHeader('', false);
 ?>
similarity index 98%
rename from public_html/indexes.php
rename to indexes.php
index bfcb384fdd5449b12881b719eec7b56c2c7a34b5..4e3b49ca918650b9d4d825fa1a415bda4c2fe6c0 100644 (file)
@@ -3,11 +3,11 @@
        /**
         * List indexes on a table
         *
-        * $Id: indexes.php,v 1.2 2003/01/11 09:50:22 chriskl Exp $
+        * $Id: indexes.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        $PHP_SELF = $_SERVER['PHP_SELF'];
similarity index 66%
rename from public_html/intro.php
rename to intro.php
index 3145f537a1ffc1d58f170157c3a7281e0950b7d7..561c366e23ac825067a51f836fca22452565400c 100755 (executable)
+++ b/intro.php
@@ -3,11 +3,11 @@
        /**
         * Intro screen
         *
-        * $Id: intro.php,v 1.10 2003/01/04 07:08:03 chriskl Exp $
+        * $Id: intro.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
        
        $misc->printHeader();
 ?>
index 4d9999a12571055735d8528631455799146fb427..175d3d415929860fca521e1bc25240c091aaf15b 100755 (executable)
@@ -4,7 +4,7 @@
         * Language template file for WebDB.  Use this to base language
         * files.
         *
-        * $Id: english.php,v 1.42 2003/01/16 15:04:28 chriskl Exp $
+        * $Id: english.php,v 1.43 2003/01/18 06:38:37 chriskl Exp $
         */
 
        // Language and character set
@@ -12,7 +12,7 @@
        $appCharset = 'ISO-8859-1';
 
        // Basic strings
-       $strIntro = 'Welcome to WebDB.';
+       $strIntro = 'Welcome to phpPgAdmin.';
        $strLogin = 'Login';
        $strLoginFailed = 'Login failed';
        $strServer = 'Server';
index e0440bfac97c38d1e9ab81b694a8a212b607f045..005f9987dcaab0f327f9ccd8733e5c3452c835bc 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * Overrides default ADODB error handler to provide nicer error handling.
  *
- * $Id: errorhandler.inc.php,v 1.7 2003/01/12 04:37:36 chriskl Exp $
+ * $Id: errorhandler.inc.php,v 1.8 2003/01/18 06:38:37 chriskl Exp $
  */
 
 define('ADODB_ERROR_HANDLER','Error_Handler');
@@ -21,7 +21,7 @@ define('ADODB_ERROR_HANDLER','Error_Handler');
 function Error_Handler($dbms, $fn, $errno, $errmsg, $p1=false, $p2=false)
 {
        global $strSQLError, $strInStatement, $strLogin, $strLoginFailed;
-       global $misc, $appName, $appVersion, $appBase, $guiTheme, $appLangFiles;
+       global $misc, $appName, $appVersion, $guiTheme, $appLangFiles;
        global $strUsername, $strPassword, $strServer, $strLanguage;
 
        switch($fn) {
@@ -41,9 +41,9 @@ function Error_Handler($dbms, $fn, $errno, $errmsg, $p1=false, $p2=false)
                $_failed = true;
                // Theme
                echo "<style type=\"text/css\">\n<!--\n";
-               include("../themes/{$guiTheme}/global.css");
+               include("themes/{$guiTheme}/global.css");
                echo "\n-->\n</style>\n";
-               include($appBase . '/login.php');
+               include('login.php');
                exit;
                break;
        default:
index eff0b85effcc4315ac32cdc310a96e1570ab9c58..2c352379b9b3a0271a0672d22bf13dbfa6950cc6 100644 (file)
@@ -3,14 +3,14 @@
        /**
         * Function library read in upon startup
         *
-        * $Id: lib.inc.php,v 1.12 2003/01/17 01:26:39 chriskl Exp $
+        * $Id: lib.inc.php,v 1.13 2003/01/18 06:38:37 chriskl Exp $
         */
 
        // Application name 
-       $appName = 'WebDB';
+       $appName = 'phpPgAdmin';
 
        // Application version
-       $appVersion = '0.6.5';
+       $appVersion = '3.0-dev';
 
        // Configuration file version.  If this is greater than that in config.inc.php, then
        // the app will refuse to run.  This and $appConfVersion should be incremented whenever
@@ -33,7 +33,7 @@
        // language file, and then overwrite it with the user-specified language.
        // Default language to English if it's not set.
        if (!isset($appDefaultLanguage)) $appDefaultLanguage = 'english';
-       include_once('../lang/english.php');
+       include_once('lang/english.php');
 
        // Check for config file version mismatch
        if (!isset($appConfVersion) || $appBaseConfVersion > $appConfVersion) {
@@ -42,7 +42,7 @@
        }
 
        // Create Misc class references
-       include_once('../classes/Misc.php');
+       include_once('classes/Misc.php');
        $misc = new Misc();
 
        // Start session
                        ||      !isset($_SESSION['webdbServerID'])
                        ||      !isset($_SESSION['webdbLanguage'])
                        ||      !isset($confServers[$_SESSION['webdbServerID']])){
-               include($appBase . '/login.php');
+               include('login.php');
                exit;
        }
        
        // Import language file
-       include("../lang/" . strtolower($_SESSION['webdbLanguage']) . ".php");
+       include("lang/" . strtolower($_SESSION['webdbLanguage']) . ".php");
        
        // Create data accessor object, if valid
        if (isset($_SESSION['webdbServerID']) && isset($confServers[$_SESSION['webdbServerID']])) {
                $_type = $confServers[$_SESSION['webdbServerID']]['type'];
-               require_once('../classes/database/' . $_type . '.php');
+               require_once('classes/database/' . $_type . '.php');
                $data = new $_type(     $confServers[$_SESSION['webdbServerID']]['host'],
                                                                        $confServers[$_SESSION['webdbServerID']]['port'],
                                                                        $confServers[$_SESSION['webdbServerID']]['default'],
        // Create local (database-specific) data accessor object, if valid
        if (isset($_SESSION['webdbServerID']) && isset($confServers[$_SESSION['webdbServerID']]) && isset($_REQUEST['database'])) {
                $_type = $confServers[$_SESSION['webdbServerID']]['type'];
-               require_once('../classes/database/' . $_type . '.php');
+               require_once('classes/database/' . $_type . '.php');
                $localData = new $_type(        $confServers[$_SESSION['webdbServerID']]['host'],
                                                                                        $confServers[$_SESSION['webdbServerID']]['port'],
                                                                                        $_REQUEST['database'],
similarity index 96%
rename from public_html/login.php
rename to login.php
index 657b475423b681caa1010707c0b8b44f0594f106..f2790cf657aa597fd176d8c954aae77bd27868b9 100755 (executable)
+++ b/login.php
@@ -3,11 +3,11 @@
        /**
         * Login screen
         *
-        * $Id: login.php,v 1.12 2003/01/12 04:37:36 chriskl Exp $
+        * $Id: login.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include('../conf/config.inc.php');
+       include('conf/config.inc.php');
        // Prepare form variables
        if (!isset($_POST['formServer'])) $_POST['formServer'] = '';
        if (!isset($_POST['formLanguage'])) $_POST['formLanguage'] = $appDefaultLanguage;
similarity index 70%
rename from public_html/logout.php
rename to logout.php
index 0b847ad88110f29664ba44c63b84afb5ab42f496..59786a5a4d603fe2dc230c6695b3f5cd0146034d 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * Logs a user out of the app
  *
- * $Id: logout.php,v 1.2 2003/01/04 07:08:03 chriskl Exp $
+ * $Id: logout.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
  */
 
 session_start();
similarity index 97%
rename from public_html/operators.php
rename to operators.php
index f1e545ab61e92076e0f009d716e7fed1d1e0c38f..0fd1cee098ea3c92571948605a940b36df0d89a6 100644 (file)
@@ -2,10 +2,10 @@
 /**
  *  FILENAME:   operators.php
  *
- *  $Id: operators.php,v 1.3 2003/01/04 07:08:03 chriskl Exp $
+ *  $Id: operators.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
  */
 
-include_once( '../conf/config.inc.php' );
+include_once( 'conf/config.inc.php' );
 
 $action = ( isset( $_REQUEST['action'] ) ) ? $_REQUEST['action'] : '';
 
similarity index 99%
rename from public_html/privileges.php
rename to privileges.php
index e5849fb3850a7cdc10caa4401030e25396d87718..1b575fc6bcce11b95f5278f4f3b0205906491310 100644 (file)
@@ -3,11 +3,11 @@
        /**
         * Manage views in a database
         *
-        * $Id: privileges.php,v 1.4 2003/01/17 23:10:11 xzilla Exp $
+        * $Id: privileges.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
diff --git a/public_html/indicies.php b/public_html/indicies.php
deleted file mode 100644 (file)
index f44cc3a..0000000
+++ /dev/null
@@ -1,153 +0,0 @@
-<?php
-/**
- *  FILENAME:   index.php
- *
- *  $Id: indicies.php,v 1.5 2003/01/04 07:08:03 chriskl Exp $
- */
-
-include_once( '../conf/config.inc.php' );
-
-$action = ( isset( $_REQUEST['action'] ) ) ? $_REQUEST['action'] : '';
-
-if( !isset( $msg) )
-{
-    $msg = '';
-}    
-
-$PHP_SELF = $_SERVER['PHP_SELF'];
-
-// {{{ doDefault()
-function doDefault()
-{
-    global $data, $localData, $misc, $database, $indexs; 
-    global $PHP_SELF;
-    global $strNoIndicies, $strIndicies, $strOwner, $strActions;
-
-    echo '<h2>', htmlspecialchars( $_REQUEST['database']), ": Indicies</h2>\n";
-
-    $indexs = &$localData->getIndicies();
-
-    if( $indexs->recordCount() > 0 )
-    {
-        echo "<table>\n";
-        echo "<tr><th class=\"data\">{$strIndicies}</th><th colspan=\"3\" class=\"data\">{$strActions}</th>\n";
-        $i = 0;
-
-        while( !$indexs->EOF )
-        {
-            $id = ( ($i % 2 ) == 0 ? '1' : '2' );
-            echo "<tr><td class=\"data{$id}\">", htmlspecialchars( $indexs->f[$data->ixFields['idxname']]), "</td>";
-                       echo "<td class=\"data{$id}\">";
-                               echo "<a href=\"$PHP_SELF?action=properties&database=", htmlspecialchars($_REQUEST['database']), "&index=", htmlspecialchars( $indexs->f[$data->ixFields['idxname']]), "\">Properties</a></td>\n"; 
-                       echo "<td class=\"data{$id}\">";
-                               echo "<a href=\"$PHP_SELF?action=confirm_drop&database=", htmlspecialchars($_REQUEST['database']), "&index=", htmlspecialchars( $indexs->f[$data->ixFields['idxname']]), "\">Drop</td>\n"; 
-                       echo "<td class=\"data{$id}\">";
-                               echo "<a href=\"$PHP_SELF?action=priviledges&database=", htmlspecialchars($_REQUEST['database']), "&index=", htmlspecialchars( $indexs->f[$data->ixFields['idxname']]), "\">Privileges</td></tr>\n"; 
-
-                       $indexs->movenext();
-                       $i++;
-        }
-
-        echo "</table>\n";
-    }
-    else
-    {
-        echo "<p>{$strNoIndicies}</p>\n";
-    }
-    
-    echo "<p><a class=\"navlink\" href=\"$PHP_SELF?action=create&database=", urlencode( $_REQUEST['database'] ), "\">Create index</a></p>\n";
-
-}
-// }}}
-
-       function doProperties($msg = '') 
-       {
-               global $data, $localData, $misc, $PHP_SELF;
-               global $strIndicies, $strIndexName, $strTabName, $strColumnName, $strUniqueKey, $strPrimaryKey;
-
-               echo "<h2>", htmlspecialchars($_REQUEST['database']), ": $strIndicies : ", htmlspecialchars($_REQUEST['index']), ": Properties</h2>\n";
-               $misc->printMsg($msg);
-               
-               $index = &$localData->getindex($_REQUEST['index']);
-
-       
-               if ($index->recordCount() > 0) {
-
-                       echo"<table border=0>";
-                       echo "<tr><th class=\"data\">$strIndexName</th><th class=\"data\">$strTabName</th><th class=\"data\">$strColumnName</th><th class=\"data\">$strUniqueKey</th><th class=\"data\">$strPrimaryKey</th></tr>";
-                       echo "<tr>";
-                       echo "<td class=\"data1\">", $index->f[$data->ixFields['idxname']], "</td>";
-                       echo "<td class=\"data1\">", $index->f[$data->ixFields['tabname']], "</td>";
-                       echo "<td class=\"data1\">", $index->f[$data->ixFields['columnname']], "</td>";
-                       echo "<td class=\"data1\">", $index->f[$data->ixFields['uniquekey']], "</td>";
-                       echo "<td class=\"data1\">", $index->f[$data->ixFields['primarykey']], "</td>";
-                       echo "</tr>";
-                       echo "</table>";
-                       echo "<br /><br />";
-               }
-               else echo "<p>No data.</p>\n";
-       }
-
-
-       function doPrivileges()
-       {
-               global $localData, $database;
-               global $PHP_SELF, $strIndicies ;
-       }
-
-       function doDrop($confirm)
-       {
-               global $localData, $database;
-               global $PHP_SELF, $strIndicies, $strDropped, $strDrop, $strFailed;
-       
-               if ($confirm) { 
-                       echo "<h2>", htmlspecialchars($_REQUEST['database']), ": $strIndicies : ", htmlspecialchars($_REQUEST['index']), ": Drop</h2>\n";
-                       
-                       echo "<p>Are you sure you want to drop the index \"", htmlspecialchars($_REQUEST['index']), "\"?</p>\n";
-                       
-                       echo "<form action=\"$PHP_SELF\" method=\"post\">\n";
-                       echo "<input type=hidden name=action value=drop>\n";
-                       echo "<input type=hidden name=index value=\"", htmlspecialchars($_REQUEST['index']), "\">\n";
-                       echo "<input type=hidden name=database value=\"", htmlspecialchars($_REQUEST['database']), "\">\n";
-                       echo "<input type=submit name=choice value=\"Yes\"> <input type=submit name=choice value=\"No\">\n";
-                       echo "</form>\n";
-               }
-               else {
-                       $status = $localData->dropindex($_POST['index']);
-                       if ($status == 0)
-                               doDefault("$strindex $strDropped.");
-                       else
-                               doDefault("$strindex $strDrop $strFailed.");
-               }
-
-       }
-
-
-$misc->printHeader($strIndicies);
-
-switch( $action )
-{
-       case 'create':
-               echo "<p>Creating index</p>";
-               break;
-       case 'properties':
-               doProperties(); 
-               break;
-       case 'drop':
-               if ($_POST['choice'] == 'Yes') doDrop(false);
-               else doDefault();
-               break;
-       case 'confirm_drop':
-               doDrop(true);
-               break;                  
-       case 'privileges':
-               doPrivileges();
-               break;
-    default:
-               doDefault();
-               break;
-}
-
-$misc->printFooter();
-
-?>
similarity index 98%
rename from public_html/rules.php
rename to rules.php
index f982d2a227dc8d76261012a6da29249f79d0f54d..7c7ad30926665d2279cf8c3bd9438a2b244dede6 100644 (file)
+++ b/rules.php
@@ -3,11 +3,11 @@
        /**
         * List rules on a table
         *
-        * $Id: rules.php,v 1.2 2003/01/16 14:45:31 chriskl Exp $
+        * $Id: rules.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        $PHP_SELF = $_SERVER['PHP_SELF'];
similarity index 98%
rename from public_html/sequences.php
rename to sequences.php
index b005a7fad78424bab6851caef59e6ef6494ee5c7..317cb62f033dc4d15d859b5b6c34d5e94476ed9f 100644 (file)
@@ -2,10 +2,10 @@
 /**
  *  FILENAME:   sequence.php
  *
- *  $Id: sequences.php,v 1.13 2003/01/09 06:35:13 chriskl Exp $
+ *  $Id: sequences.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
  */
 
-include_once( '../conf/config.inc.php' );
+include_once( 'conf/config.inc.php' );
 
 $action = ( isset( $_REQUEST['action'] ) ) ? $_REQUEST['action'] : '';
 
similarity index 99%
rename from public_html/tables.php
rename to tables.php
index f1cbc33addbf0e7322f00a216da71ccecadc7d00..a49f67292740166ba189edc95042f6b2fe6557df 100644 (file)
@@ -3,11 +3,11 @@
        /**
         * List tables in a database
         *
-        * $Id: tables.php,v 1.21 2003/01/12 04:37:36 chriskl Exp $
+        * $Id: tables.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        $PHP_SELF = $_SERVER['PHP_SELF'];
similarity index 95%
rename from public_html/tblexport.php
rename to tblexport.php
index f7205bcbc2cb876d676255ca6a7975d18b09d978..5a98d6160cd0e561efc54d36805af6089665d31e 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Does an export to the screen or as a download
         *
-        * $Id: tblexport.php,v 1.3 2003/01/04 07:08:04 chriskl Exp $
+        * $Id: tblexport.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        $extensions = array(
@@ -30,7 +30,7 @@
 
        // Include application functions
        $_no_output = true;
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
 
        // Return all rows in the table
        // @@ Note: This should really use a cursor
similarity index 98%
rename from public_html/tblproperties.php
rename to tblproperties.php
index 1b1f657a4e12c7ebbedd7ca2dc6dc9e6888ad942..29b7b232396c4e22db115debd376f3f0b6314681 100644 (file)
@@ -3,11 +3,11 @@
        /**
         * List tables in a database
         *
-        * $Id: tblproperties.php,v 1.22 2003/01/12 07:25:44 chriskl Exp $
+        * $Id: tblproperties.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        $PHP_SELF = $_SERVER['PHP_SELF'];
similarity index 90%
rename from public_html/topbar.php
rename to topbar.php
index cbb45efa74ca5098fddddfae21eb620bd0998ae7..3db114d02d54157d7c12562a6bf299fa7da8591f 100755 (executable)
@@ -3,11 +3,11 @@
        /**
         * Top menu for WebDB
         *
-        * $Id: topbar.php,v 1.14 2003/01/11 07:38:54 chriskl Exp $
+        * $Id: topbar.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
        
        $misc->printHeader();
 ?>
similarity index 99%
rename from public_html/types.php
rename to types.php
index 53639a179a7ae14b228341ec25d8ab15bbf9e5b4..b7d1e357281222d836f07c5e434b8a19405a92d5 100644 (file)
+++ b/types.php
@@ -3,11 +3,11 @@
        /**
         * Manage types in a database
         *
-        * $Id: types.php,v 1.4 2003/01/09 06:44:21 chriskl Exp $
+        * $Id: types.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
similarity index 98%
rename from public_html/users.php
rename to users.php
index 224e467d5eb4eeaeece9d4167f21e6f5ea144792..0ef5c64f82f880c2adfb6c83abbdd1a698e6f8bc 100644 (file)
+++ b/users.php
@@ -3,11 +3,11 @@
        /**
         * Manage users in a database cluster
         *
-        * $Id: users.php,v 1.7 2003/01/04 07:08:04 chriskl Exp $
+        * $Id: users.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
similarity index 98%
rename from public_html/views.php
rename to views.php
index e6b820075d7ec6a39f8aae4b3294ba2c460a53f1..73658ec3ba555b9a0f5df5c3978a453e97d2927e 100644 (file)
+++ b/views.php
@@ -3,11 +3,11 @@
        /**
         * Manage views in a database
         *
-        * $Id: views.php,v 1.9 2003/01/10 06:55:02 chriskl Exp $
+        * $Id: views.php,v 1.1 2003/01/18 06:38:36 chriskl Exp $
         */
 
        // Include application functions
-       include_once('../conf/config.inc.php');
+       include_once('conf/config.inc.php');
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';