SME Server talk:Documentation:Developers Manual

From SME Server
Revision as of 11:38, 16 May 2008 by Brianr (talk | contribs)
Jump to navigation Jump to search

Is bandwidth usage an issue ? that was why i had the index page with links to chapters

http://wiki.contribs.org/index.php?title=SME_Server:Documentation:Developers_Manual&oldid=9456

Snoble 18:29, 28 April 2008 (MDT)


I am finding that I get a perl warning from this MySQL fragment:

{

   my $rec = $DB->get('loggerdemo')
       || $DB->new_record('loggerdemo', {type => 'service'});
   my $password = $rec->prop('DbPassword');
   return "" if $password;
   use MIME::Base64;
   my $rand     = sprintf("%08d", int(1_000_000_000 * rand()));
   my $password = MIME::Base64::encode($rand, "");
   $rec->set_prop('DbPassword', $password);

}

the second "my $password" "masks....." etc.

suggest removing the "my" on that line.

--Brianr 04:38, 16 May 2008 (MDT)