mirror of
https://github.com/YunoHost-Apps/limesurvey_ynh.git
synced 2024-09-03 19:36:32 +02:00
23 lines
668 B
PHP
23 lines
668 B
PHP
|
<?php
|
||
|
|
||
|
if (!is_writable($tempdir))
|
||
|
{
|
||
|
echo "<li class='errortitle'>".sprintf($clang->gT("Tempdir %s is not writable"),$tempdir)."<li>";
|
||
|
}
|
||
|
if (!is_writable(APPPATH.DIRECTORY_SEPARATOR.'controllers'.DIRECTORY_SEPARATOR.'admin'.DIRECTORY_SEPARATOR.'update.php'))
|
||
|
{
|
||
|
echo "<li class='errortitle'>".sprintf($clang->gT("Updater file is not writable (%s). Please set according file permissions."),DIRECTORY_SEPARATOR.'admin'.DIRECTORY_SEPARATOR.'update.php')."</li>";
|
||
|
}
|
||
|
|
||
|
if ($httperror != '')
|
||
|
{
|
||
|
print( $httperror );
|
||
|
}
|
||
|
|
||
|
if (!$updater_exists)
|
||
|
{
|
||
|
$clang->eT('There was a problem downloading the updater file. Please try to restart the update process.').'<br />';
|
||
|
}
|
||
|
|
||
|
?>
|