Project

General

Profile

Bug #17308 ยป 0005630_v3.patch

Administrator Admin, 2009-01-11 15:59

View differences:

typo3/sysext/install/mod/class.tx_install.php (Arbeitskopie)
case 'adminUser': // Create admin user
if ($whichTables['be_users']) {
if (is_array($this->INSTALL['database_adminUser'])) {
$username = ereg_replace('[^[:alnum:]_-]','',trim($this->INSTALL['database_adminUser']['username']));
$username = str_replace(' ','_',$username);
$username = preg_replace('/[^\da-z._-]/i', '', trim($this->INSTALL['database_adminUser']['username']));
$pass = trim($this->INSTALL['database_adminUser']['password']);
if ($username && $pass) {
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid', 'be_users', 'username='.$GLOBALS['TYPO3_DB']->fullQuoteStr($username, 'be_users'));
    (1-1/1)