DO open a database connection in the parent process, this cached the $dbdef and speed...
authorivan <ivan>
Tue, 5 Oct 2004 12:17:35 +0000 (12:17 +0000)
committerivan <ivan>
Tue, 5 Oct 2004 12:17:35 +0000 (12:17 +0000)
FS/bin/freeside-selfservice-server

index 1093e10..c045893 100644 (file)
@@ -218,7 +218,7 @@ sub init {
   #eslaf
 
   $ENV{HOME} = (getpwuid($>))[7]; #for ssh
   #eslaf
 
   $ENV{HOME} = (getpwuid($>))[7]; #for ssh
-  #adminsuidsetup $user;
+  adminsuidsetup $user;
 
   #$log_file = "/usr/local/etc/freeside/selfservice.". $FS::UID::datasrc; #MACHINE NAME
   $log_file = "/usr/local/etc/freeside/selfservice.$machine.log";
 
   #$log_file = "/usr/local/etc/freeside/selfservice.". $FS::UID::datasrc; #MACHINE NAME
   $log_file = "/usr/local/etc/freeside/selfservice.$machine.log";