Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit a0274d8

Browse files
committed
Check php version: 5.6 for enterprise dist, because of ioncube loaders.
1 parent 0a7e490 commit a0274d8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

dist/php/7.0.0-extractArchive-post.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function checkPluginUsed($type, $name){
5353
if ($p->getName() === "multi") {
5454
$drivers = $p->drivers;
5555
if (isSet($drivers[$name])) {
56-
throw new Exception("You are currently using $type.$name for authentication backend. This was deprecated in Pydio 6 and is nowremoved in Pydio7. Aborting upgrade");
56+
throw new Exception("You are currently using $type.$name for authentication backend. This was deprecated in Pydio 6 and is now removed in Pydio7. Aborting upgrade");
5757
} else {
5858
echo "<div class='upgrade_result success'>- Checking plugin $type (" . implode(", ", array_keys($drivers)) . ") : OK</div>";
5959
}
@@ -106,7 +106,11 @@ function blockAllXHRInPage(){
106106
}
107107

108108
blockAllXHRInPage();
109-
checkPhpVersion('5.5.9');
109+
if(defined('AJXP_PACKAGE_NAME') && AJXP_PACKAGE_NAME === 'pydio-enterprise'){
110+
checkPhpVersion('5.6.0');
111+
}else{
112+
checkPhpVersion('5.5.9');
113+
}
110114
if(AJXP_VERSION === '6.4.2'){
111115
checkPluginUsed("conf", "serial");
112116
checkPluginUsed("auth", "serial");

0 commit comments

Comments
 (0)