Ticket #1485244: installer-magic_quotes_gpc.diff

File installer-magic_quotes_gpc.diff, 1.0 kB (added by flurischt, 5 months ago)

Patch for RC installer script (no magic_quotes_gpc check)

  • roundcubemail/installer/check.php

     
    1515    'PostgreSQL' => 'pgsql', 'SQLite (v2)' => 'sqlite'); 
    1616 
    1717$ini_checks = array('file_uploads' => 1, 'session.auto_start' => 0, 
    18     'magic_quotes_gpc' => 0, 'magic_quotes_sybase' => 0); 
     18    'magic_quotes_sybase' => 0); 
    1919 
    2020$source_urls = array( 
    2121    'Sockets' => 'http://www.php.net/manual/en/ref.sockets.php', 
  • roundcubemail/installer/index.php

     
    11<?php 
    22ini_set('error_reporting', E_ALL&~E_NOTICE); 
    33ini_set('display_errors', 1); 
     4set_magic_quotes_runtime(0); 
    45 
    56define('INSTALL_PATH', realpath(dirname(__FILE__) . '/../').'/'); 
    67$include_path  = INSTALL_PATH . 'program/lib' . PATH_SEPARATOR;