Skip to content

Commit

Permalink
Merge commit 'refs/pull/3714/head' of github.com:zendframework/zf2 in…
Browse files Browse the repository at this point in the history
…to develop

PR zendframework#3714
  • Loading branch information
EvanDotPro committed Feb 21, 2013
2 parents b4fdf9d + a9d343d commit 8ad9453
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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 8ad9453

Please sign in to comment.