[bugs] [Tickets] New ticket (84): Missing HORDE_LIBS .
bugs at bugs.horde.org
bugs at bugs.horde.org
Thu Apr 15 16:37:50 PDT 2004
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
cket 84
-Queue: Turba
eato Da:
mmario
Missing HORDE_LIBS .
Comment by micio at australia.edu on Thu Apr 15 16:37:49 2004gi):
Hi ppl,
I'm not an expert of PHP and I don't know if this can help you (probabily
you yet know this, anyway... ) Some files in Turba Devel (And in Turba 2.0
Alpha too) missing the "HORDE_LIBS ." var path. ... Here my diff:
diff -urN turba.vanilla/lib/Driver/imsp.php turba/lib/Driver/imsp.php
--- turba.vanilla/lib/Driver/imsp.php 2004-04-15 04:19:46.000000000 +0200
+++ turba/lib/Driver/imsp.php 2004-04-16 01:03:24.000000000 +0200
@@ -62,7 +62,7 @@
global $prefs;
global $conf;
- require_once 'Net/IMSP.php';
+ require_once HORDE_LIBS . 'Net/IMSP.php';
$this->_imsp = &Net_IMSP::singleton('Book', $this->params);
$result = $this->_imsp->init();
if (is_a($result, 'PEAR_Error')) {
diff -urN turba.vanilla/lib/Source.php turba/lib/Source.php
--- turba.vanilla/lib/Source.php 2004-04-15 04:20:39.000000000 +0200
+++ turba/lib/Source.php 2004-04-16 01:08:46.000000000 +0200
@@ -1,6 +1,6 @@
<?php
-require_once 'Horde/History.php';
+require_once HORDE_LIBS . 'Horde/History.php';
/**
* The Turba_Source:: class provides a set of methods for dealing with
diff -urN turba.vanilla/lib/Turba.php turba/lib/Turba.php
--- turba.vanilla/lib/Turba.php 2004-04-07 16:43:52.000000000 +0200
+++ turba/lib/Turba.php 2004-04-16 01:04:09.000000000 +0200
@@ -41,7 +41,7 @@
function formatEmailAddresses($data, &$ob)
{
- require_once 'Horde/MIME.php';
+ require_once HORDE_LIBS . 'Horde/MIME.php';
$email_vals = explode(',', $data);
$email_values = false;
@@ -250,7 +250,7 @@
function menu()
{
global $conf, $registry, $notification;
- require_once 'Horde/Menu.php';
+ require_once HORDE_LIBS . 'Horde/Menu.php';
require TURBA_TEMPLATES . '/menu/menu.inc';
$notification->notify(array('listeners' => 'status'));
diff -urN turba.vanilla/lib/base.php turba/lib/base.php
--- turba.vanilla/lib/base.php 2004-04-07 16:43:52.000000000 +0200
+++ turba/lib/base.php 2004-04-16 01:06:29.000000000 +0200
@@ -43,7 +43,7 @@
$GLOBALS['cfgSources'] = Turba::permissionsFilter($cfgSources, 'source');
// Help.
-require_once 'Horde/Help.php';
+require_once HORDE_LIBS . 'Horde/Help.php';
/* Start compression, if requested. */
Horde::compressOutput();
EOF
regards
Luca C.M.G.
--
http://bugs.horde.org/details.php?id=84
--
This mail was automatically generated by Tickets (http://bugs.horde.org/).
If you believe you have recieved this mail in error, please contact Horde
Development Team <dev at lists.horde.org>.
More information about the bugs
mailing list