[TYPO3-english] codes display on my typo3 backend
    Christoph Hermann 
    hermann at informatik.uni-freiburg.de
       
    Sat May 21 01:36:25 CEST 2011
    
    
  
Am Freitag, 20. Mai 2011, 17:58:42 schrieb Stefano Kowalke:
Hi,
> 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
why so complicated?
find /path/to/typo3_src -type f -name '*.php' -exec php -l {} \;
cheers
Chris
-- 
Christoph Hermann
Institut für Informatik
Tel: +49 761-203-8171 Fax: +49 761-203-8162
e-mail: hermann at informatik.uni-freiburg.de
    
    
More information about the TYPO3-english
mailing list