Permalink
Browse files

Fix base in proxy.php

  • Loading branch information...
1 parent 890a3b3 commit 2b1e06704c6c55ab66af7607736e1d696d6cb05d @cdujeu cdujeu committed May 25, 2016
Showing with 2 additions and 1 deletion.
  1. +2 −1 core/src/proxy.php
View
@@ -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.