Changeset 774


Ignore:
Timestamp:
02/22/06 03:22:04 (7 years ago)
Author:
anarcat
Message:

[project @ alternc: changeset 2005-12-10 16:44:03 by anarcat]
patch appliquée par erreur.

Original author: anarcat
Date: 2005-12-10 16:44:03

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bureau/admin/adm_doadd.php

    r773 r774  
    11<?php 
    22/* 
    3  $Id: adm_doadd.php,v 1.4 2005/12/10 16:43:10 anarcat Exp $ 
     3 $Id: adm_doadd.php,v 1.5 2005/12/10 16:44:03 anarcat Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    5757      # make sure we don't have multiple dots there 
    5858      $dom->lock(); 
    59       $tld = preg_replace("/^\.\.*/", "", variable_get("hosting_tld")); 
    60       $dom->add_domain($login.".".$tld,0,1,1); 
     59      $dom->add_domain($login.".".preg_replace("/^\.\.*/", "", variable_get("hosting_tld")),0,1,1); 
    6160      $dom->unlock(); 
    6261    } else { 
Note: See TracChangeset for help on using the changeset viewer.