[lms-commits] CVS update of lms/contrib/formularz_przelewu_wplaty (druk.php)

LMS CVS cvs w lms.org.pl
Pon, 18 Lip 2011, 09:20:26 CEST


Date: Monday, July 18, 2011 @ 09:20:26
Author: alec
Path: /cvsroot/lms/contrib/formularz_przelewu_wplaty

Modified: druk.php

- Fixed path to locale functions file


Diff URLs:
http://cvs.lms.org.pl/viewvc/Development/lms/contrib/formularz_przelewu_wplaty/druk.php.diff?&r1=1.31&r2=1.32


Index: lms/contrib/formularz_przelewu_wplaty/druk.php
diff -u lms/contrib/formularz_przelewu_wplaty/druk.php:1.31 lms/contrib/formularz_przelewu_wplaty/druk.php:1.32
--- lms/contrib/formularz_przelewu_wplaty/druk.php:1.31	Tue Jan 18 09:12:00 2011
+++ lms/contrib/formularz_przelewu_wplaty/druk.php	Mon Jul 18 09:20:26 2011
@@ -7,7 +7,7 @@
  *
  *  Please, see the doc/AUTHORS for more information about authors!
  *
- *  $Id: druk.php,v 1.31 2011/01/18 08:12:00 alec Exp $
+ *  $Id: druk.php,v 1.32 2011/07/18 07:20:26 alec Exp $
  */
 
 // REPLACE THIS WITH PATH TO YOU CONFIG FILE
@@ -41,6 +41,8 @@
 $_DBNAME = $CONFIG['database']['database'];
 
 require_once(LIB_DIR.'/LMSDB.php');
+// funkcja to_words()
+require_once(LIB_DIR.'/locale/pl/ui.php');
 
 $DB = DBInit($_DBTYPE, $_DBHOST, $_DBUSER, $_DBPASS, $_DBNAME);
 
@@ -50,9 +52,6 @@
         foreach($cfg as $row)
                 $CONFIG[$row['section']][$row['var']] = $row['value'];
 
-// funkcja to_words()
-require_once($CONFIG['directories']['lib_dir'].'/locale/pl/functions.php');
-
 $ISP1_DO = (!isset($CONFIG['finances']['line_1']) ? 'LINIA1xxxxxxxxxxxxxxxxxxxyz' : $CONFIG['finances']['line_1']);
 $ISP2_DO = (!isset($CONFIG['finances']['line_2']) ? 'linia2xxxxxxxxxxxxxxxxxxxyz' : $CONFIG['finances']['line_2']);
 $USER_T1 = (!isset($CONFIG['finances']['pay_title']) ? 'Abonament - ID:%CID% %LongCID%' : $CONFIG['finances']['pay_title']);


Więcej informacji o liście lms-commits