[TYPO3-core] RFC (?): remove garbage in init.php

Ernesto Baschny [cron IT] ernst at cron-it.de
Fri Dec 22 15:44:15 CET 2006


+1 for the change. I've noticed it too, but wasn't sure if it was only
my copy or in the repository. :)

Dmitry Dulepov wrote: on 22.12.2006 14:27:

> It seems that 4.1 has garbage character(s) in typo3/init.php. Please,
> take a look to attached patch and see if you see the same as I do.
> 
> 
> ------------------------------------------------------------------------
> 
> Index: typo3/init.php
> ===================================================================
> --- typo3/init.php	(revision 1886)
> +++ typo3/init.php	(working copy)
> @@ -162,7 +162,7 @@
>  // *************************
>  // CLI dispatch processing
>  // *************************
> -if (defined('TYPO3_cliMode') && TYPO3_cliModeб╢&& basename(PATH_thisScript)=='cli_dispatch.phpsh')	{
> +if (defined('TYPO3_cliMode') && TYPO3_cliMode && basename(PATH_thisScript)=='cli_dispatch.phpsh')	{
>  		// First, take out the first argument (cli-key)
>  	$temp_cliScriptPath = array_shift($_SERVER['argv']);
>  	$temp_cliKey = array_shift($_SERVER['argv']);



More information about the TYPO3-team-core mailing list