Changeset 1024 in ExiteCMS for trunk/register.php


Ignore:
Timestamp:
10/27/07 11:14:52 (5 years ago)
Author:
hverton
Message:

Anonymized robots.txt
Added new DNS functions include, to make them work on Windows

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        22config.backup.php 
        33config.php 
         4_revision_.svn 
  • trunk/register.php

    r954 r1024  
    1414+----------------------------------------------------*/ 
    1515require_once dirname(__FILE__)."/includes/core_functions.php"; 
    16 require_once PATH_ROOT."/includes/theme_functions.php"; 
     16require_once PATH_INCLUDES."theme_functions.php"; 
    1717 
    1818// temp storage for template variables 
     
    2121// no point registering when you're already a member 
    2222if (iMEMBER) fallback(BASEDIR."index.php"); 
     23 
     24// include the DNS functions include 
     25include PATH_INCLUDES."dns_functions.php"; 
    2326 
    2427// load the locales for this module 
     
    7477         
    7578        $email_domain = substr(strrchr($email, "@"), 1); 
    76         if (getmxrr($email_domain, $mxhosts)) { 
     79        if (CMS_getmxrr($email_domain, $mxhosts)) { 
    7780            // Get the hostname the MX record points to 
    7881            $mailhost = $mxhosts[0]; 
Note: See TracChangeset for help on using the changeset viewer.