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

Commit

Permalink
Fix test before create new alias class
Browse files Browse the repository at this point in the history
  • Loading branch information
c12simple committed Sep 1, 2017
1 parent 8bdae1d commit 9b3b23b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/plugins/action.share/src/Store/ShareStore.php
Expand Up @@ -175,7 +175,9 @@ public function loadShare($hash){
}
return [];
}
class_alias("Pydio\\Share\\ShareCenter", "ShareCenter");
if(!class_exists("ShareCenter")) {
class_alias("Pydio\\Share\\ShareCenter", "ShareCenter");
}
$lines = file($file);

// Eval the existing line 3, should be like
Expand Down

0 comments on commit 9b3b23b

Please sign in to comment.