Changeset 2963
- Timestamp:
- 06/03/11 14:43:09 (2 years ago)
- Location:
- alternc/branches/stable-1.0
- Files:
-
- 9 edited
-
. (modified) (1 prop)
-
bureau/admin/index.php (modified) (1 diff)
-
bureau/class/config.php (modified) (2 diffs)
-
etc/alternc/functions_hosting (modified) (1 prop)
-
etc/alternc/templates/apache2/url.conf (modified) (1 prop)
-
etc/alternc/templates/apache2/vhost.conf (modified) (1 prop)
-
src/alternc_reload (modified) (4 diffs)
-
src/functions_dns.sh (modified) (1 prop)
-
src/functions_hosting.sh (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
-
alternc/branches/stable-1.0
- Property svn:mergeinfo changed
/alternc/trunk merged: 2959-2962
- Property svn:mergeinfo changed
-
alternc/branches/stable-1.0/bureau/admin/index.php
r2855 r2963 73 73 <form action="login.php" method="post" target="_top"> 74 74 <table border="0" style="border: 1px solid #202020;" cellspacing="0" cellpadding="3" width="300px" > 75 <tr><th colspan="2" align="center"> Accès AlternC</th></tr>75 <tr><th colspan="2" align="center"><?php __("AlternC access"); ?></th></tr> 76 76 <tr><th align="right"><label for="username"><?php echo _("Username"); ?></label></th><td><input type="text" class="int" name="username" id="username" value="" maxlength="128" size="15" /></td></tr> 77 77 <tr><th align="right"><label for="password"><?php echo _("Password"); ?></label></th><td><input type="password" class="int" name="password" id="password" value="" maxlength="128" size="15" /></td></tr> -
alternc/branches/stable-1.0/bureau/class/config.php
r2855 r2963 71 71 exit(); 72 72 } 73 }73 } 74 74 if (!empty($_SERVER['PHP_AUTH_USER']) && !empty($_SERVER['PHP_AUTH_PW'])) { 75 75 // Gruiiik … … 81 81 $help_baseurl="http://www.aide-alternc.org/"; 82 82 83 /* PHPLIB inclusions : */84 $root="/var/alternc/bureau/";85 83 /* Server Domain Name */ 86 84 $host=getenv("HTTP_HOST"); 87 85 88 86 /* Global variables (AlternC configuration) */ 89 require_once($root."class/local.php"); 87 require_once(dirname(__FILE__)."/local.php"); 88 /* PHPLIB inclusions : */ 89 $root=$L_ALTERNC_LOC."/bureau/"; 90 90 91 91 require_once($root."class/db_mysql.php"); -
alternc/branches/stable-1.0/etc/alternc/functions_hosting
- Property svn:mergeinfo changed (with no actual effect on merging)
-
alternc/branches/stable-1.0/etc/alternc/templates/apache2/url.conf
- Property svn:mergeinfo changed (with no actual effect on merging)
-
alternc/branches/stable-1.0/etc/alternc/templates/apache2/vhost.conf
- Property svn:mergeinfo changed (with no actual effect on merging)
-
alternc/branches/stable-1.0/src/alternc_reload
r2899 r2963 40 40 41 41 DOMAIN_LOG_FILE="/var/log/alternc/update_domains.log" 42 exec >>"$DOMAIN_LOG_FILE" 2>&1 42 43 43 44 if [ `whoami` = 'root' ]; then … … 49 50 apache_reload() { 50 51 if [ -x /usr/sbin/apache2ctl ]; then 51 $sudo /usr/sbin/apache2ctl graceful > /dev/null || echo "Cannot restart apache" >> "$DOMAIN_LOG_FILE"52 $sudo /usr/sbin/apache2ctl graceful || echo "Cannot restart apache" 52 53 fi 53 54 } … … 59 60 case $zone in 60 61 "all") 61 $sudo rndc reload > /dev/null || echo "Cannot reload bind" >> "$DOMAIN_LOG_FILE"62 $sudo rndc reload || echo "Cannot reload bind" 62 63 apache_reload # keep for compatibility 63 64 ;; … … 66 67 ;; 67 68 *) 68 $sudo rndc reload "$zone" > /dev/null || echo "Cannot reload bind for zone $zone" >> "$DOMAIN_LOG_FILE"69 $sudo rndc reload "$zone" || echo "Cannot reload bind for zone $zone" 69 70 ;; 70 71 esac -
alternc/branches/stable-1.0/src/functions_dns.sh
- Property svn:mergeinfo changed (with no actual effect on merging)
-
alternc/branches/stable-1.0/src/functions_hosting.sh
- Property svn:mergeinfo changed (with no actual effect on merging)
Note: See TracChangeset
for help on using the changeset viewer.
