Script URL:
Version of script:Hesk 2.0
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hello everyone. I wanted to know if there if a way of removing the attachments folder file permission test from the installation. Anyway to bypass this test?
Anyway to remove attachments file permission test from insta
Moderator: mkoch227
In install.php and update.php chage to
Code: Select all
<tr>
<td class="admin_white"><b>File uploads</b><br />To use file attachments <i>file_uploads</i> must be enabled in PHP</td>
<td class="admin_white" valign="middle">
<?php
$mypassed=1;
$can_use_attachments=1;
if (ini_get('file_uploads'))
{
echo '<b><font color="#008000">Enabled</font></b>';
}
else
{
$mypassed=0;
$can_use_attachments=0;
echo '<b><font color="#FFA500">Disabled</font></b>';
}
?>
</td>
<td class="admin_white" valign="middle">
<?php
if ($mypassed==1)
{
echo '<font color="#008000"><b>Passed</b></font>';
}
else
{
echo '<font color="#FFA500"><b>Unavailable*</b></font>';
}
?>
</td>
</tr>
Code: Select all
<?php
$can_use_attachments=1;
?>
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
attachments bypass
I managed to bypass the test by commenting out the following lines
$f = @fopen($path, 'a');
if ($f===false)
return false;
fclose($f);
if (!$rm)