Some fix
This commit is contained in:
parent
e14c9d6c01
commit
5bd3c9cc9a
|
@ -35,7 +35,7 @@ if (!$admin->enabled) {
|
|||
}
|
||||
|
||||
if (! isset($L_INOTIFY_UPDATE_DOMAIN)) {
|
||||
__("Missing INOTIFY_UPDATE_DOMAIN var in /etc/alternc/local/sh . Fix it!");
|
||||
__("Missing INOTIFY_UPDATE_DOMAIN var in /etc/alternc/local.sh . Fix it!");
|
||||
die();
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ if ($mem->checkRight()) { ?>
|
|||
<?php if ( empty($L_INOTIFY_UPDATE_DOMAIN) || file_exists("$L_INOTIFY_UPDATE_DOMAIN") ) { ?>
|
||||
<li><a href='javascript:alert("<?php __("Reload already in progress"); ?>");'><span style="color: red;"><?php __("Reload in progress..."); ?></span></a></li>
|
||||
<?php } else { // file L_INOTIFY_UPDATE_DOMAIN don't exist ?>
|
||||
<li><a href="/adm_update_domains.php"><span style="color: red;"><?php __("Force a reload"); ?></span></a></li>
|
||||
<li><a href="/adm_update_domains.php" onClick='return confirm("<?php echo addslashes(_("Server configuration is regenerate every 5 minutes (if there is changes). Do you want to force a regeneration right now?"));?>");'><span style="color: red;"><?php __("Force a reload"); ?></span></a></li>
|
||||
<?php } // file exist L_INOTIFY_UPDATE_DOMAIN ?>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash -x
|
||||
#!/bin/bash
|
||||
|
||||
# Launch update_domains.sh if $INOTIFY_UPDATE_DOMAIN exist
|
||||
|
||||
|
|
Loading…
Reference in New Issue