Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Merge commit 'refs/pull/3714/head' of github.com:zendframework/zf2
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanDotPro committed Feb 21, 2013
2 parents d10a766 + a9d343d commit 1a0e60f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions library/Zend/Session/compatibility/autoload.php
@@ -1,5 +1,11 @@
<?php
if (version_compare(PHP_VERSION, '5.3.4', 'lt')) {
if (!class_exists('Zend\Stdlib\ArrayObject', false)
&& file_exists(__DIR__ . '/../../Stdlib/compatibility/autoload.php')
) {
require __DIR__ . '/../../Stdlib/compatibility/autoload.php';
}

require_once __DIR__ . '/Container.php';
require_once __DIR__ . '/Storage/SessionArrayStorage.php';
}
4 changes: 3 additions & 1 deletion library/Zend/Stdlib/compatibility/autoload.php
@@ -1,4 +1,6 @@
<?php
if (version_compare(PHP_VERSION, '5.3.4', 'lt')) {
if (version_compare(PHP_VERSION, '5.3.4', 'lt')
&& !class_exists('Zend\Stdlib\ArrayObject', false)
) {
require_once __DIR__ . '/ArrayObject.php';
}

0 comments on commit 1a0e60f

Please sign in to comment.