/[smeserver]/rpms/e-smith-php/sme8/e-smith-php-2.2.0-remove-version-check.patch
ViewVC logotype

Annotation of /rpms/e-smith-php/sme8/e-smith-php-2.2.0-remove-version-check.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Sep 19 14:48:09 2011 UTC (12 years, 9 months ago) by snetram
Branch: MAIN
CVS Tags: e-smith-php-2_2_0-7_el5_sme, e-smith-php-2_2_0-6_el5_sme, HEAD
* Mon Sep 19 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme
- Remove PHP version check from migrate script [SME: 6727]

1 snetram 1.1 diff -up e-smith-php-2.2.0/root/etc/e-smith/db/configuration/migrate/PhpMagicQuotes.remove-version-check e-smith-php-2.2.0/root/etc/e-smith/db/configuration/migrate/PhpMagicQuotes
2     --- e-smith-php-2.2.0/root/etc/e-smith/db/configuration/migrate/PhpMagicQuotes.remove-version-check 2011-09-19 16:41:57.000000000 +0200
3     +++ e-smith-php-2.2.0/root/etc/e-smith/db/configuration/migrate/PhpMagicQuotes 2011-09-19 16:42:31.000000000 +0200
4     @@ -1,18 +1,5 @@
5     {
6    
7     - use version;
8     -
9     - open (PHP, 'php -v | grep built | cut -d " " -f 2 |');
10     - my $current = <PHP> || "0.0.0";
11     - close PHP;
12     -
13     - chomp $current;
14     - $current = "v$current";
15     -
16     - my $treshold = version->new("v5.3.0");
17     -
18     - return unless $current >= $treshold;
19     -
20     $DB->get_prop_and_delete ('php', 'MagicQuotes');
21    
22     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed