[TYPO3-english] codes display on my typo3 backend

Stefano Kowalke blueduck at gmx.net
Fri May 20 17:58:42 CEST 2011


Am 18.05.11 11:18, schrieb tom liu:
> Thanks for your reply. how could i fix it?

You can try find the affected file by running PHP Lint (php -l) over the
source.

Insert the snippet into an file like phpsyntaxchk.sh, make the file
executable and run it from inside the typo3_src folder.

(You need ruby installed on your maschine)

#!/usr/bin/env ruby

require 'rubygems'
require 'rake'

test_files = FileList['**/*.php']
test_files.each do |f|
  sh %{php -l #{f}}
end


More information about the TYPO3-english mailing list