[TYPO3-dev] Install tool removes dots from admin usernames

Steffen Müller typo3 at t3node.com
Sun Jan 11 16:06:39 CET 2009


Hi.

On 10.01.2009 15:25 Stefano Kowalke wrote:
> It seems it not easy changing. If i replace ereg_replace preg_replace i got
> an error:
> Warning: preg_replace() [function.preg-replace]: Compilation failed: POSIX
> named classes are supported only within a class at offset 1 on
> 

just for clarification on using preg_replace:

ereg_replace('[^[:alnum:]_-]'

will have to be changed to:

preg_replace('/[^[:alnum:]_-]/'

-- 
cheers,
Steffen

http://www.t3node.com/




More information about the TYPO3-dev mailing list