Re: probleme de permission tinyeditor/smartsection | Titre du sujet : Re: probleme de permission tinyeditor/smartsection par frankblack sur 06/12/2006 23:27:20
So again my question: Is gzip-compression turned on in tinyeditor?
Hmmmm, let's try another thing. Open tinyeditor / include / initcode.php in an editor and change this:
if (is_object($xoopsUser)) {
$uid = $xoopsUser->getVar('uid');
$thegroupid = array_shift(getCurrentUsersGroups($uid));
} else {
$thegroupid = 3;
}
to this:
if (is_object($xoopsUser)) {
$uid = $xoopsUser->getVar('uid');
$thegroupid = array_slice($xoopsUser->getGroups($uid), 0, 1);
$thegroupid = implode(" ", $thegroupid);
$thegroupid = trim($thegroupid);
} else {
$thegroupid = 3;
}
Save and upload the file and try again.
|
|