bug #1307208, detect lack of permission for CREATE TABLE

This commit is contained in:
Marc Delisle
2005-09-30 19:22:11 +00:00
parent ea707775d2
commit 863a6e24d4
7 changed files with 119 additions and 86 deletions

View File

@@ -2,11 +2,11 @@
/* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
// Displays form for creating database (if user has priveleges for that)
// Displays form for creating database (if user has privileges for that)
require_once('./libraries/check_user_privileges.lib.php');
if ($is_create_priv) {
if ($is_create_db_priv) {
// The user is allowed to create a db
?>
<form method="post" action="db_create.php"><b>