1
0
Fork 0
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:
zamentur 2014-06-21 16:34:20 +02:00
parent ab2b078412
commit ab09c7b83d
2 changed files with 3 additions and 4 deletions

View file

@ -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

View file

@ -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";