--- deliantra/server/lib/cf.pm 2006/11/07 16:30:55 1.80 +++ deliantra/server/lib/cf.pm 2006/12/11 02:54:57 1.84 @@ -30,9 +30,7 @@ our %CFG; -our $uptime; - -$uptime ||= time; +our $UPTIME; $UPTIME ||= time; ############################################################################# @@ -40,6 +38,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 +532,7 @@ use Data::Dumper; - "$$rdata\n" . Dumper $objs + $$rdata . Dumper $objs } sub object_thawer_load { @@ -644,7 +646,8 @@ . "\n};\n1"; eval $source - or die "$path: $@"; + or die $@ ? "$path: $@\n" + : "extension disabled.\n"; push @exts, $pkg; $ext_pkg{$base} = $pkg;