bug-scriptName.diff

Sebastian Kurfuerst, 2007-07-13 08:10

Download (722 Bytes)

 
Packages/Framework/Classes/Utility/T3P_Framework_Utility_Environment.php (Arbeitskopie)
179 179
	 * @author Robert Lemke <robert@typo3.org> 
180 180
	 */
181 181
	public function getScriptRequestPathAndName() {
182
		if (isset($this->SERVER['SCRIPT_NAME'])) return $this->SERVER['SCRIPT_NAME'];
183 182
		if (isset($this->SERVER['ORIG_SCRIPT_NAME'])) return $this->SERVER['ORIG_SCRIPT_NAME'];		
183
		if (isset($this->SERVER['SCRIPT_NAME'])) return $this->SERVER['SCRIPT_NAME'];
184 184
	}
185 185
	
186 186
	/**