--- deliantra/server/lib/cf.pm 2006/11/07 16:30:55 1.80 +++ deliantra/server/lib/cf.pm 2006/12/11 01:30:41 1.83 @@ -30,9 +30,10 @@ our %CFG; -our $uptime; - -$uptime ||= time; +our $uptime;#d# +our $UPTIME; +$UPTIME ||= $uptime;#d# +$UPTIME ||= time; ############################################################################# @@ -40,6 +41,10 @@ =over 4 +=item $cf::UPTIME + +The timestamp of the server start (so not actually an uptime). + =item $cf::LIBDIR The perl library directory, where extensions and cf-specific modules can @@ -530,7 +535,7 @@ use Data::Dumper; - "$$rdata\n" . Dumper $objs + $$rdata . Dumper $objs } sub object_thawer_load { @@ -644,7 +649,8 @@ . "\n};\n1"; eval $source - or die "$path: $@"; + or die $@ ? "$path: $@\n" + : "extension disabled.\n"; push @exts, $pkg; $ext_pkg{$base} = $pkg;