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 --- 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 +++ e-smith-php-2.2.0/root/etc/e-smith/db/configuration/migrate/PhpMagicQuotes 2011-09-19 16:42:31.000000000 +0200 @@ -1,18 +1,5 @@ { - use version; - - open (PHP, 'php -v | grep built | cut -d " " -f 2 |'); - my $current = || "0.0.0"; - close PHP; - - chomp $current; - $current = "v$current"; - - my $treshold = version->new("v5.3.0"); - - return unless $current >= $treshold; - $DB->get_prop_and_delete ('php', 'MagicQuotes'); }