Project

General

Profile

Actions

Feature #20854

closed

unsing class.t3lib_diff.php on Windows - using DIFF in Workspaces on Windows Machines

Added by Robert Wunsch over 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-08-09
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

It was not possible to use the DIFF feature on Windows servers.

The site http://www.domain.com/typo3/sysext/version/cm1/index.php just returned black text, even if Content Elements of Live-Workspace and Draft-Workspace were different.

The diff.exe was executed, but the result was just in one element in the returned array.
In linux the command exec("diff.exe",array) returned an array with one element for each 'newline'.

Now I used the " WshShell.Exec" command, which at least returns 'newlines', this is then 'exploded' to an array for Windows.

The "diff.exe" - Path in the install tool needs to look like this:
[BE][diff_path] = C:\TYPO3_4.2.3\diff\diff.exe

Patch file is attached.

(issue imported from #M11674)


Files

class.t3lib_diff.php.patch (477 Bytes) class.t3lib_diff.php.patch Administrator Admin, 2009-08-09 06:05
Actions

Also available in: Atom PDF