
16/05/2005, 19:28
|
| | Fecha de Ingreso: mayo-2005
Mensajes: 2
Antigüedad: 19 años, 9 meses Puntos: 0 | |
MANDO MAS DATOS, PARA INCORPORAR LAS COMILLAS O ALGO K SOBRE [ STRING, expecting ' ) ' ]
/**
* Does everything needed to get the application to a usable state.
*
* @param string $user The username to connect with.
* @param string $password The password to connect with.
* @param string $name The database to use.
* @param string $host The address the database server is running at.
* @param string $driver The database driver to use (must be either MySQL or PgSQL).
* @parma string $prefix The database prefix name
* @return void
* @access public
*/
function Create ($user, $password, $name, $host,$driver="MySQL",$prefix="")
{
$DB =& new JawsDB ($user, $password,$name,$host, $driver, $prefix);
$this->DB = $DB->Connect ();
$this->Registry->SetDB ($this->DB);
$this->Registry->Init ();
$this->CheckCookie ();
$this->SetDefaults ();
JawsTranslate::LoadTranslation ("_GLOBAL_");
} |