Changeset 12 for trunk/dotnode-xml.php

Show
Ignore:
Timestamp:
08/09/05 10:27:24 (7 years ago)
Author:
alexx
Message:
  • bug win $config.domain in template smarty/templates/my/settings.tpl
  • remove last hardcoded domain in .page templates
  • remove old unused code in dotnode-dotpage.php
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/dotnode-xml.php

    r10 r12  
    2828$_SERVER['HTTP_HOST'] = ereg_replace(":80$", "", $_SERVER["HTTP_HOST"]); 
    2929$requested_site = ereg_replace("^www\.", "", $_SERVER["HTTP_HOST"]); 
    30 ereg("(.*)\.dotnode\.com$", $requested_site, $regs); 
     30ereg("(.*)\.${config['domain']}$", $requested_site, $regs); 
    3131$login = $regs[1]; 
    3232 
     
    5151 
    5252session_start(); 
    53  
    5453 
    5554if(!$smarty->is_cached('index.tpl', $login.'.'.$_SERVER['PHP_SELF'] ))