Update of /cvsroot/openbash-org/openbash-org
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13394
Modified Files:
config.php openbash-org.mysql
Added Files:
TODO
Log Message:
cambios en bbdd y paso a md5
Index: openbash-org.mysql
===================================================================
RCS file: /cvsroot/openbash-org/openbash-org/openbash-org.mysql,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** openbash-org.mysql 18 Nov 2004 17:21:31 -0000 1.11
--- openbash-org.mysql 24 Nov 2004 08:37:06 -0000 1.12
***************
*** 1,5 ****
! CREATE DATABASE `openbash-org`;
! USE openbash-org;
CREATE TABLE `quote` (
--- 1,5 ----
! CREATE DATABASE `openbash`;
! USE openbash;
CREATE TABLE `quote` (
***************
*** 29,40 ****
CREATE TABLE `users` (
`login` VARCHAR( 255 ) NOT NULL ,
`passwd` VARCHAR( 255 ) NOT NULL ,
`role` INT DEFAULT 1 ,
! PRIMARY KEY ( `login` )
) TYPE = InnoDB;
! INSERT INTO `users` VALUES ('admin', '', 1);
! INSERT INTO `users` VALUES ('moderator', '', 2);
CREATE TABLE `roles` (
--- 29,41 ----
CREATE TABLE `users` (
+ `id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
`login` VARCHAR( 255 ) NOT NULL ,
`passwd` VARCHAR( 255 ) NOT NULL ,
`role` INT DEFAULT 1 ,
! PRIMARY KEY ( `id` )
) TYPE = InnoDB;
! INSERT INTO `users` VALUES ('', 'admin', MD5('openbash-org'), 1);
! INSERT INTO `users` VALUES ('', 'moderator', MD5('openbash-org'), 2);
CREATE TABLE `roles` (
Index: config.php
===================================================================
RCS file: /cvsroot/openbash-org/openbash-org/config.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** config.php 17 Nov 2004 10:28:40 -0000 1.16
--- config.php 24 Nov 2004 08:37:06 -0000 1.17
***************
*** 3,11 ****
$title = 'OpenBash.org';
! $hostbd = 'localhost'; # host where the database is running
! $userbd = 'openbash'; # a user with full privileges to access the database
! $passbd = '02jdf9234y9'; # the user's password database
! $namedb = 'openbash-org'; # the database name
! $tipobd = 'mysql'; # type of database: mysql, pgsql, etc
$lang = 'spanish';
--- 3,11 ----
$title = 'OpenBash.org';
! $hostbd = 'localhost'; # host where the database is running
! $userbd = 'openbash'; # a user with full privileges to access the database
! $passbd = '02jdf9234y9'; # the user's password database
! $namedb = 'openbash'; # the database name
! $tipobd = 'mysql'; # type of database: mysql, pgsql, etc
$lang = 'spanish';
--- NEW FILE: TODO ---
- login form on ?page=admin appears twice
- close session on ?page=admin&a_opt=close shows admin_header
|