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

Commit

Permalink
Fix wrong path separator, triggering error on open_basedir
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed May 17, 2017
1 parent 953a268 commit 174f4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/RichClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ private function defineThemeConstants($configs){
define("CLIENT_RESOURCES_FOLDER", AJXP_PLUGINS_FOLDER."/gui.ajax/res");
define("AJXP_THEME_FOLDER", CLIENT_RESOURCES_FOLDER."/themes/".$theme);
$imagesFolder = AJXP_THEME_FOLDER."/images";
if(file_exists(AJXP_INSTALL_PATH . "." . $imagesFolder)){
if(file_exists(AJXP_INSTALL_PATH . "/" . $imagesFolder)){
define("AJXP_IMAGES_FOLDER", $imagesFolder);
}else{
define("AJXP_IMAGES_FOLDER", CLIENT_RESOURCES_FOLDER."/themes/common/images");
Expand Down

0 comments on commit 174f4f3

Please sign in to comment.