Skip to content

Commit

Permalink
Remove PHP 5.6 check, we're on fixed Doctrine version (Fix mauticgh-4)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabker committed Dec 14, 2014
1 parent 5ef5c62 commit 8052e8a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
8 changes: 0 additions & 8 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@
use Symfony\Component\ClassLoader\ApcClassLoader;
use Symfony\Component\HttpFoundation\Request;

// Cannot function on PHP 5.6 properly due to a Doctrine bug which is included in Doctrine 2.5
// See http://www.doctrine-project.org/jira/browse/DDC-3120 for more
if (version_compare(PHP_VERSION, '5.6', 'ge')) {
echo "Mautic will not function properly on PHP 5.6 due to an issue with a third party dependency.\n";
echo "Please downgrade to PHP 5.4 or 5.5.";
exit;
}

$loader = require_once __DIR__ . '/app/bootstrap.php.cache';

// Use APC for autoloading to improve performance.
Expand Down
8 changes: 0 additions & 8 deletions index_dev.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Debug\Debug;

// Cannot function on PHP 5.6 properly due to a Doctrine bug which is included in Doctrine 2.5
// See http://www.doctrine-project.org/jira/browse/DDC-3120 for more
if (version_compare(PHP_VERSION, '5.6', 'ge')) {
echo "Mautic will not function properly on PHP 5.6 due to an issue with a third party dependency.\n";
echo "Please downgrade to PHP 5.4 or 5.5.";
exit;
}

// If you don't want to setup permissions the proper way, just uncomment the following PHP line
// read http://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information
//umask(0000);
Expand Down

0 comments on commit 8052e8a

Please # to comment.