Permalink
Browse files

Fix call to Utils in generated share.php file.

  • Loading branch information...
1 parent f9a0b8b commit a35a6e58e1dc9775ed10ddb2b9124dd03890c955 @cdujeu cdujeu committed May 11, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/src/plugins/action.share/class.ShareStore.php
@@ -77,8 +77,8 @@ private function createGenericLoader(){
if(!is_file($this->downloadFolder."/share.php")){
$loader_content = '<'.'?'.'php
define("AJXP_EXEC", true);
- require_once("'.str_replace("\\", "/", AJXP_INSTALL_PATH).'/'.AJXP_BIN_FOLDER_REL.'/class.AJXP_Utils.php");
- $hash = Pydio\Core\Utils\AJXP_Utils::securePath(Pydio\Core\Utils\AJXP_Utils::sanitize($_GET["hash"], AJXP_SANITIZE_ALPHANUM));
+ require_once("'.str_replace("\\", "/", AJXP_INSTALL_PATH).'/core/src/pydio/Core/Utils/Utils.php");
+ $hash = Pydio\Core\Utils\Utils::securePath(Pydio\Core\Utils\Utils::sanitize($_GET["hash"], AJXP_SANITIZE_ALPHANUM));
if(file_exists($hash.".php")){
require_once($hash.".php");
}else{

0 comments on commit a35a6e5

Please sign in to comment.