Changeset 343 in t29-www for lib/host.php


Ignore:
Timestamp:
Mar 5, 2013, 3:59:10 PM (11 years ago)
Author:
sven
Message:

Sprachsystem gefixt bei Benutzung von mod_vhost_alias (Bug #32).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/host.php

    r298 r343  
    2020
    2121        /// Some identifier like a FQDN. Must be overwritten!
    22         public $hostname = "unknown";
     22        public $hostname = "undefined";
    2323
    2424
     
    3838                                $x = self::webroot_local_host_classname;
    3939                                return new $x;
     40                        } else {
     41                                print "Warning: Hostfile $hostfile does not contain class ".self::webroot_local_host_classname."\n";
    4042                        }
    4143                }
     
    6466        }
    6567
     68        public function __toString() {
     69                return 't29v6/host:'.$this->hostname;
     70        }
     71
    6672        abstract function fillup_template_conf(&$template_conf);
    6773}
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License