From 80bc67799c4f67ec5015da1c4b5aafabae94aa1a Mon Sep 17 00:00:00 2001 From: einhverfr Date: Thu, 14 Sep 2006 15:19:39 +0000 Subject: Whitespace cleanup to SL2LS.pl git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@92 4979c152-3d1c-0410-bac9-87ea11338e46 --- Changelog | 5 +++-- SL2LS.pl | 10 +++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Changelog b/Changelog index 189931d2..1a526771 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,7 @@ Changelog for LedgerSMB 1.1.0 +* Links between admin and login pages +* One is required to change the admin password when it is blank (on first login etc). * Utility included for near-real-time parts short email notifications. * DB Updates now use one transaction per update file. * Fixed Lynx support @@ -8,8 +10,7 @@ Changelog for LedgerSMB 1.1.0 * Protection against duplicate transaction id's. * FLOAT datatypes removed from database * Sales Data Report added -* SL2LS.pl now dies if it cannot open the files. -* Corrected directory transversal bug +* SL2LS.pl now dies if it cannot open the files with instructions on how to proceed manually Changelog for LedgerSMB v 1.0.0p1 * Fixed directory transversal/arbitrary code execution vulnerability. diff --git a/SL2LS.pl b/SL2LS.pl index 8f48ac62..af2d4608 100755 --- a/SL2LS.pl +++ b/SL2LS.pl @@ -5,13 +5,13 @@ # Simple script. Right now, all that needs to be done is that the SL directory # needs to be deleted and the sql-ledger.conf needs to be renamed. -$filedie = "To install manually: -rename the sql-ledger.conf to ledger-smb.conf -Delete the SL directory (optional but HIGHLY recommended)\n"; +$filedie = "To install manually:\n" . + "rename the sql-ledger.conf to ledger-smb.conf\n ". + "Delete the SL directory (optional but HIGHLY recommended)\n"; open (SL, "< sql-ledger.conf") || die ( -"Could not open sql-ledger.conf: $! \n $filedie"); + "Could not open sql-ledger.conf: $! \n $filedie"); open (LS, "> ledger-smb.conf") || die ( -"Could not open ledger-smb.conf: $! \n $filedie"); + "Could not open ledger-smb.conf: $! \n $filedie"); while ($line = ){ print LS $line; -- cgit v1.2.3