mirror of
https://github.com/YunoHost-Apps/opensondage_ynh.git
synced 2024-09-03 19:46:28 +02:00
Fix admin link
This commit is contained in:
parent
ab2b078412
commit
ab09c7b83d
2 changed files with 3 additions and 4 deletions
|
@ -54,7 +54,6 @@ sudo sed -i "s@yunoinfolegal@$legal@g" $final_path/variables.php
|
||||||
# Create log file
|
# Create log file
|
||||||
touch $final_path/admin/logs_studs.txt
|
touch $final_path/admin/logs_studs.txt
|
||||||
chmod 700 $final_path/admin/logs_studs.txt
|
chmod 700 $final_path/admin/logs_studs.txt
|
||||||
|
|
||||||
# Set permissions to roundcube directory
|
# Set permissions to roundcube directory
|
||||||
sudo chown -R www-data: $final_path
|
sudo chown -R www-data: $final_path
|
||||||
|
|
||||||
|
|
|
@ -132,13 +132,13 @@ function sous_bandeau()
|
||||||
function sous_bandeau_admin()
|
function sous_bandeau_admin()
|
||||||
{
|
{
|
||||||
echo '<div class="sousbandeau">' .
|
echo '<div class="sousbandeau">' .
|
||||||
'<a class="button small gray" href="/">'. _("Home") .'</a>';
|
'<a class="button small gray" href="./">'. _("Home") .'</a>';
|
||||||
|
|
||||||
if(is_readable('logs_studs.txt')) {
|
if(is_readable('logs_studs.txt')) {
|
||||||
echo '<a class="button small gray" href="/admin/logs_studs.txt">'. _("Logs") .'</a>';
|
echo '<a class="button small gray" href="./admin/logs_studs.txt">'. _("Logs") .'</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<a class="button small gray" href="/../scripts/nettoyage_sondage.php">'. _("Cleaning") .'</a>' .
|
echo '<a class="button small gray" href="./scripts/nettoyage_sondage.php">'. _("Cleaning") .'</a>' .
|
||||||
'<span class="sousbandeau sousbandeaulangue">' .
|
'<span class="sousbandeau sousbandeaulangue">' .
|
||||||
liste_lang() . '</span>'.
|
liste_lang() . '</span>'.
|
||||||
'</div>'."\n";
|
'</div>'."\n";
|
||||||
|
|
Loading…
Add table
Reference in a new issue