diff options
-rw-r--r-- | ledgersmb-httpd.conf | 21 | ||||
-rw-r--r-- | sql/modules/Company.sql | 3 |
2 files changed, 11 insertions, 13 deletions
diff --git a/ledgersmb-httpd.conf b/ledgersmb-httpd.conf index 02ca1b4f..cad5a122 100644 --- a/ledgersmb-httpd.conf +++ b/ledgersmb-httpd.conf @@ -1,8 +1,8 @@ # This file must be edited to substitute the current path with WORKING_DIR -Alias /ledgersmb WORKING_DIR/ +Alias /ledgersmb /home/ledgersmb/ledger-smb -<Directory WORKING_DIR> +<Directory /home/ledgersmb/ledger-smb> # Rewrite rule to allow HTTP Authorization information to the scripts only # from this directory. @@ -18,8 +18,9 @@ Alias /ledgersmb WORKING_DIR/ # connections that access this application in order to protect usernames and # passwords. Order Deny,Allow - Allow from 127.0.0.1 - Allow from localhost +# Allow from 127.0.0.1 +# Allow from localhost + Allow from All Deny from All # The rest of this file just tightens up security. @@ -29,32 +30,32 @@ Alias /ledgersmb WORKING_DIR/ </Files> </Directory> -<Directory WORKING_DIR/users> +<Directory /home/ledgersmb/ledger-smb/users> Order Deny,Allow Deny from All </Directory> -<Directory WORKING_DIR/bin> +<Directory /home/ledgersmb/ledger-smb/bin> Order Deny,Allow Deny from All </Directory> -<Directory WORKING_DIR/utils> +<Directory /home/ledgersmb/ledger-smb/utils> Order Deny,Allow Deny from All </Directory> -<Directory WORKING_DIR/spool> +<Directory /home/ledgersmb/ledger-smb/spool> Order Deny,Allow Deny from All </Directory> -<Directory WORKING_DIR/templates> +<Directory /home/ledgersmb/ledger-smb/templates> Order Deny,Allow Deny from All </Directory> -<Directory WORKING_DIR/LedgerSMB> +<Directory /home/ledgersmb/ledger-smb/LedgerSMB> Order Deny,Allow Deny from All </Directory> diff --git a/sql/modules/Company.sql b/sql/modules/Company.sql index bcb0599e..feddd8e0 100644 --- a/sql/modules/Company.sql +++ b/sql/modules/Company.sql @@ -183,7 +183,6 @@ CREATE OR REPLACE FUNCTION entity_credit_save ( in_terms int, in_meta_number varchar(32), in_business_id int, in_language varchar(6), in_pricegroup_id int, in_curr char, in_startdate date, in_enddate date, - in_notes text, in_name text, in_tax_id TEXT, in_threshold NUMERIC, in_ar_ap_account_id int, @@ -254,8 +253,6 @@ CREATE OR REPLACE FUNCTION entity_credit_save ( in_cash_account_id ); -- entity note class - insert into entity_note (note_class, note, ref_key, vector) VALUES ( - 1, in_notes, new_entity_id, to_tsvector(in_notes)); return new_entity_id; |