[TYPO3-core] RFC: media/ path fixes

Bernhard Kraft kraftb at kraftb.at
Wed Apr 12 08:48:54 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ingmar Schlecht wrote:
> Hi guys,
> 
> in some places, the old path to media/ is still used, this patch fixes
> this. Some of the fixes are fixes of fixes actually.

Question:

Did you test all those afterwards ?

Because this one:

> @@ -3414,7 +3414,6 @@
>  	 */
>  	function setAbsRefPrefix()	{
>  		if ($this->absRefPrefix)	{
> -			$this->content = str_replace('"media/', '"'.$this->absRefPrefix.'media/', $this->content);
>  			$this->content = str_replace('"fileadmin/', '"'.$this->absRefPrefix.'fileadmin/', $this->content);
>  		}
>  	}


Looks not correct for me ... you just remove the line for media but do not add a replacement.

Is this correct ?


greets,
Bernhard
- --
- ----------------------------------------------------------------------
"Freiheit ist immer auch die Freiheit des Andersdenkenden"
Rosa Luxemburg, 1871 - 1919
- ----------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEPKLWIl4dkVkDMFkRAtmNAKCCXPJHdCxGGHR1/4DgOXKzF9QNPQCeOeBw
vCWcO0DhEKrQAnv7+Lz1Z78=
=AF41
-----END PGP SIGNATURE-----



More information about the TYPO3-team-core mailing list