[Alba-desarrollo] SVN Alba r4250 - in prosistem/alba/trunk: . installer

commits en pressenter.com.ar commits en pressenter.com.ar
Lun Feb 19 20:22:05 CET 2007


Author: josx
Date: 2007-02-19 16:21:59 -0300 (Mon, 19 Feb 2007)
New Revision: 4250

Modified:
   prosistem/alba/trunk/index.php
   prosistem/alba/trunk/installer/generar_paquete.sh
Log:
Cambios para version 1.0RC del script para generar archivos comprimidos.

Modified: prosistem/alba/trunk/index.php
===================================================================
--- prosistem/alba/trunk/index.php	2007-02-19 18:32:24 UTC (rev 4249)
+++ prosistem/alba/trunk/index.php	2007-02-19 19:21:59 UTC (rev 4250)
@@ -66,6 +66,7 @@
     define("IMG_OK", "<img src='dist/".SYMFONY_DIR."/data/web/sf/images/sf_admin/save.png'>");
     define("IMG_NOT_OK", "<img src='dist/".SYMFONY_DIR."/data/web/sf/images/sf_admin/delete.png'>");
     
+    define("SQL_CREATE_DB", ALBA_PATH."data".DIRECTORY_SEPARATOR."sql".DIRECTORY_SEPARATOR."create-db.sql");
     define("SQL_CREATE", ALBA_PATH."data".DIRECTORY_SEPARATOR."sql".DIRECTORY_SEPARATOR."schema.sql");
     define("SQL_INSERT", ALBA_PATH."data".DIRECTORY_SEPARATOR."sql".DIRECTORY_SEPARATOR."datos_desde_cero.sql");
             
@@ -183,7 +184,7 @@
             if(compruebaVersion($mysql_server_version, MYSQL_REQUIRED_VERSION)) {
 
                 if($_POST['db']['createdb']) {
-                    if(!@mysql_query('CREATE DATABASE '.$_POST['db']['name'])) {
+                    if(!@mysql_query('CREATE DATABASE '.$_POST['db']['name'].' DEFAULT CHARACTER SET utf8 COLLATE utf8_bin')) {
                         $hasErrors = true;
                         $aError['newdb'] = 'No se pudo crear la base de datos ('.mysql_error().')';
                         $aDb = array( 'server' => $_POST['db']['server'] , 'user' => $_POST['db']['user'], 'password' => $_POST['db']['password'], 'name' =>    $_POST['db']['name'], 'createdb' =>  $_POST['db']['createdb']) ;

Modified: prosistem/alba/trunk/installer/generar_paquete.sh
===================================================================
--- prosistem/alba/trunk/installer/generar_paquete.sh	2007-02-19 18:32:24 UTC (rev 4249)
+++ prosistem/alba/trunk/installer/generar_paquete.sh	2007-02-19 19:21:59 UTC (rev 4250)
@@ -30,7 +30,7 @@
 # Creamos el temporal
 FECHA=`date +%Y%m%d%H%M%S%N`
 
-VERSION=1.0Beta
+VERSION=1.0RC
 PROYECTO=alba
 TMPDIR=/tmp
 #TEMPORAL="$TMPDIR/$PROYECTO"




Más información sobre la lista de distribución Alba-desarrollo