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

Commit

Permalink
Fix base in proxy.php
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed May 25, 2016
1 parent 890a3b3 commit 2b1e067
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/proxy.php
Expand Up @@ -23,4 +23,5 @@
require_once AJXP_INSTALL_PATH."/".AJXP_PLUGINS_FOLDER."/action.share/class.ShareCenter.php";
global $skipHtmlBase;
$skipHtmlBase = true;
ShareCenter::publicRoute("/proxy", ["hash" => $_GET["hash"]]);
$base = rtrim(dirname($_SERVER["SCRIPT_NAME"]), "/");
ShareCenter::publicRoute($base, "/proxy", ["hash" => $_GET["hash"]]);

0 comments on commit 2b1e067

Please sign in to comment.