forked from davidstutz/cmsimple-elfinder
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix session incompatibility with XH 1.7
As of CMSimple_XH 1.7.0 the session uses a non-standard name, which breaks compatibility with elFinder_xh 1.0.5. We fix this by checking whether cmsimple/.sessionname exist, and if so we use its content to set the appropriate session name before actually starting the session. We also cater to `$_SESSION['xh_password']` now holding a string instead of an array as before.
- Loading branch information
Showing
3 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters