Changeset 2963


Ignore:
Timestamp:
06/03/11 14:43:09 (2 years ago)
Author:
xals
Message:

Merge changesets 2959, 2960, 2961, 2962.

Location:
alternc/branches/stable-1.0
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • alternc/branches/stable-1.0

  • alternc/branches/stable-1.0/bureau/admin/index.php

    r2855 r2963  
    7373<form action="login.php" method="post" target="_top"> 
    7474<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> 
    7676<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> 
    7777<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  
    7171        exit(); 
    7272    } 
    73  } 
     73} 
    7474if (!empty($_SERVER['PHP_AUTH_USER']) && !empty($_SERVER['PHP_AUTH_PW'])) { 
    7575  // Gruiiik 
     
    8181$help_baseurl="http://www.aide-alternc.org/"; 
    8282 
    83 /* PHPLIB inclusions : */ 
    84 $root="/var/alternc/bureau/"; 
    8583/* Server Domain Name */ 
    8684$host=getenv("HTTP_HOST"); 
    8785 
    8886/* Global variables (AlternC configuration) */ 
    89 require_once($root."class/local.php"); 
     87require_once(dirname(__FILE__)."/local.php"); 
     88/* PHPLIB inclusions : */ 
     89$root=$L_ALTERNC_LOC."/bureau/"; 
    9090 
    9191require_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  
    4040 
    4141DOMAIN_LOG_FILE="/var/log/alternc/update_domains.log" 
     42exec >>"$DOMAIN_LOG_FILE" 2>&1 
    4243 
    4344if [ `whoami` = 'root' ]; then 
     
    4950apache_reload() { 
    5051  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"   
    5253  fi 
    5354} 
     
    5960    case $zone in 
    6061      "all") 
    61         $sudo rndc reload > /dev/null || echo "Cannot reload bind" >> "$DOMAIN_LOG_FILE" 
     62        $sudo rndc reload  || echo "Cannot reload bind"  
    6263        apache_reload # keep for compatibility 
    6364        ;; 
     
    6667        ;; 
    6768      *) 
    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"  
    6970        ;; 
    7071    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.