This commit is contained in:
Alan Garcia 2013-01-29 08:00:19 +00:00
parent e14c9d6c01
commit 5bd3c9cc9a
3 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ if (!$admin->enabled) {
} }
if (! isset($L_INOTIFY_UPDATE_DOMAIN)) { 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(); die();
} }

View File

@ -43,7 +43,7 @@ if ($mem->checkRight()) { ?>
<?php if ( empty($L_INOTIFY_UPDATE_DOMAIN) || file_exists("$L_INOTIFY_UPDATE_DOMAIN") ) { ?> <?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> <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 ?> <?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 } // file exist L_INOTIFY_UPDATE_DOMAIN ?>
<?php } ?> <?php } ?>
</ul> </ul>

View File

@ -1,4 +1,4 @@
#!/bin/bash -x #!/bin/bash
# Launch update_domains.sh if $INOTIFY_UPDATE_DOMAIN exist # Launch update_domains.sh if $INOTIFY_UPDATE_DOMAIN exist