Protected KCFinder CSS
I have a site that requires login to upload files. So the kcfinder index.php is protected by a Security Assist Rule. All works fine until I try to hide the sidebar in KCFinder.
Any ideas? I noticed that hiding the sidebar works if I remove the rule but I can't seem to have both in place without the CSS error.
As soon as I set $_GET['showsidebar'] = false the CSS styles no longer show. I see the below error on CSS.php
#left {
display:none;
}
#right {
width:100% !important;
}
#files {
width:auto !important;
}
#status {
width:100% !important;
background-color: #e0e0e0;
}
#pickImagesBtn {
margin-right: 10px;
}
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /nfs/c03/h02/mnt/51355/domains/elmo.lizmoore.com/html/webassist/kcfinder/themes/default/css.php:10) in <b>/nfs/c03/h02/mnt/51355/domains/elmo.lizmoore.com/html/webassist/kcfinder/conf/config.php</b> on line <b>37</b><br />