Ticket #83: patch-broken-escapeshellarg.diff

File patch-broken-escapeshellarg.diff, 0.8 KB (added by sebastian, 2 years ago)
  • config/core.php

     
    4343 */ 
    4444        Configure::write('App.encoding', 'UTF-8'); 
    4545/** 
     46 * In some php versions escapeshellarg() removes special characters like german 
     47 * umlaut. This bug causes wrong system calls to files like import of media 
     48 * with umlaut. The call setlocale() to an UTF8 character set fixes this 
     49 * problem. Check your character sets of our environment with "local -a" and 
     50 * enter it below. 
     51 * 
     52 * See also http://bugs.php.net/bug.php?id=44945 
     53 *          http://bugs.php.net/bug.php?id=44564 
     54 */ 
     55  //setlocale(LC_CTYPE, "UTF8", "en_US.UTF-8"); 
     56/** 
    4657 * To configure CakePHP *not* to use mod_rewrite and to 
    4758 * use CakePHP pretty URLs, remove these .htaccess 
    4859 * files: