[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] sms/inc class.bosms.inc.php class.sms.inc.php
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] sms/inc class.bosms.inc.php class.sms.inc.php |
Date: |
Mon, 26 Feb 2007 13:41:48 +0000 |
CVSROOT: /sources/phpgroupware
Module name: sms
Changes by: Sigurd Nes <sigurdne> 07/02/26 13:41:48
Modified files:
inc : class.bosms.inc.php class.sms.inc.php
Log message:
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/sms/inc/class.bosms.inc.php?cvsroot=phpgroupware&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/sms/inc/class.sms.inc.php?cvsroot=phpgroupware&r1=1.21&r2=1.22
Patches:
Index: class.bosms.inc.php
===================================================================
RCS file: /sources/phpgroupware/sms/inc/class.bosms.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- class.bosms.inc.php 27 Dec 2006 10:39:15 -0000 1.7
+++ class.bosms.inc.php 26 Feb 2007 13:41:48 -0000 1.8
@@ -8,7 +8,7 @@
* @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
* @package hrm
* @subpackage place
- * @version $Id: class.bosms.inc.php,v 1.7 2006/12/27 10:39:15 sigurdne
Exp $
+ * @version $Id: class.bosms.inc.php,v 1.8 2007/02/26 13:41:48 sigurdne
Exp $
*/
/**
@@ -16,7 +16,7 @@
* @package hrm
*/
- class sms_bosms
+ class bosms
{
var $start;
var $query;
@@ -36,9 +36,9 @@
);
- function sms_bosms($session=False)
+ function bosms($session=False)
{
- $this->currentapp =
$GLOBALS['phpgw_info']['flags']['currentapp'];
+ $this->currentapp =
'sms';//$GLOBALS['phpgw_info']['flags']['currentapp'];
$this->sms =
CreateObject($this->currentapp.'.sms');
$this->so =
CreateObject($this->currentapp.'.sosms');
// $this->bocommon =
CreateObject($this->currentapp.'.bocommon');
Index: class.sms.inc.php
===================================================================
RCS file: /sources/phpgroupware/sms/inc/class.sms.inc.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- class.sms.inc.php 27 Dec 2006 10:39:15 -0000 1.21
+++ class.sms.inc.php 26 Feb 2007 13:41:48 -0000 1.22
@@ -8,7 +8,7 @@
* @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
* @package sms
* @subpackage sms
- * @version $Id: class.sms.inc.php,v 1.21 2006/12/27 10:39:15 sigurdne
Exp $
+ * @version $Id: class.sms.inc.php,v 1.22 2007/02/26 13:41:48 sigurdne
Exp $
*/
/**
@@ -31,7 +31,9 @@
if(!$GLOBALS['phpgw_info']['sms_config']['common']['gateway_module'])
{
- include_once(PHPGW_APP_INC . SEP . 'config.php');
+ $path_to_sms = dirname(__FILE__);
+
+ include_once($path_to_sms . SEP . 'config.php');
}
if (file_exists($apps_path[inc] . SEP . 'plugin' . SEP . 'gateway' .
SEP . $GLOBALS['phpgw_info']['sms_config']['common']['gateway_module'].
"/fn.php"))
@@ -50,11 +52,11 @@
}
}
- class sms_sms_
+ class sms_
{
var $apps_path;
- function sms_sms_()
+ function sms_()
{
$this->apps_config =
$GLOBALS['phpgw_info']['sms_config']['common']['apps_config'];
$this->apps_path =
$GLOBALS['phpgw_info']['sms_config']['common']['apps_path'];
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] sms/inc class.bosms.inc.php class.sms.inc.php,
Sigurd Nes <=