[pkg-horde] Bug#684129: Deprecated: Assigning the return value of new by reference is deprecated
root
tech at mediaforest.net
Tue Aug 7 09:35:39 UTC 2012
Package: horde3
Version: 3.3.8+debian0-2
Severity: normal
Since I upgraded to squeeze I get many error messages like this :
Deprecated: Assigning the return value of new by reference is deprecated on many files
Assigning the return value of new by reference is deprecated in /usr/share/horde3/lib/Horde/MIME/Message.php on line 335 :
Assigning the return value of new by reference is deprecated in /usr/share/horde3/lib/Horde/Share/datatree.php on line 211
Assigning the return value of new by reference is deprecated in /usr/share/horde3/kronolith/lib/Driver/sql.php on line 352
Assigning the return value of new by reference is deprecated in /usr/share/horde3/lib/Horde/Group.php on line 158
Assigning the return value of new by reference is deprecated in /usr/share/horde3/lib/Horde/Identity.php on line 518
Assigning the return value of new by reference is deprecated in /usr/share/horde3/lib/Horde/MIME/Headers.php on line 501
Assigning the return value of new by reference is deprecated in /usr/share/horde3/lib/Horde/MIME.php on line 279
Assigning the return value of new by reference is deprecated in /usr/share/horde3/lib/Horde/Serialize.php on line 248
It doesn't seems to lock the program but it fills my logs
-- System Information:
Debian Release: 6.0.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Versions of packages horde3 depends on:
ii apache2 2.2.16-6+squeeze7 Apache HTTP Server metapackage
ii apache2-mpm-prefork [h 2.2.16-6+squeeze7 Apache HTTP Server - traditional n
ii libapache2-mod-php5 5.3.3-7+squeeze8 server-side, HTML-embedded scripti
ii libjs-scriptaculous 1.8.3-1 JavaScript library for dynamic web
ii php-log 1.12.0-1 log module for PEAR
ii php-mail 1.2.0-2 PHP PEAR module for sending email
ii php-mail-mime 1.8.0-2 PHP PEAR module for creating MIME
ii php5-gd 5.3.3-7+squeeze8 GD module for php5
ii php5-mcrypt 5.3.3-7+squeeze8 MCrypt module for php5
Versions of packages horde3 recommends:
ii fckeditor 1:2.6.6-1 rich text format javascript web ed
ii locales 2.11.3-3 Embedded GNU C Library: National L
ii logrotate 3.7.8-6 Log rotation utility
ii php-date 1.4.7-1 PHP PEAR module for date and time
ii php-db 1.7.13-2 PHP PEAR Database Abstraction Laye
pn php-file <none> (no description available)
ii php-mdb2 2.5.0b2-1 PHP PEAR module to provide a commo
ii php-mdb2-driver- 1.5.0b2-1 PHP PEAR module to provide a MySQL
pn php-services-wea <none> (no description available)
ii php5-cli 5.3.3-7+squeeze8 command-line interpreter for the p
ii php5-ldap 5.3.3-7+squeeze8 LDAP module for php5
ii php5-mysql 5.3.3-7+squeeze8 MySQL module for php5
ii tinymce 3.4.3.2+dfsg0-1~bpo60+1 platform independent web based Jav
ii tinymce2 2.1.3-1 platform independent web based Jav
Versions of packages horde3 suggests:
pn chora2 <none> (no description available)
pn enscript <none> (no description available)
ii gettext 0.18.1.1-3 GNU Internationalization utilities
ii gollem 1.1.1+debian0-1.1 file manager component for horde f
ii imp4 4.3.7+debian0-2.1 webmail component for horde framew
ii kronolith2 2.3.4+debian0-1 calendar component for Horde Frame
ii libgeoip1 1.4.8+dfsg-2~bpo60+1 non-DNS IP-to-country resolver lib
pn libwpd-tools <none> (no description available)
ii mnemo2 2.2.3+debian0-1 notes/memos component for Horde Fr
pn php-net-imap <none> (no description available)
ii php5-auth-pam 0.4-10+b1 A PHP5 extension for PAM authentic
ii php5-common [php5-m 5.3.3-7+squeeze8 Common files for packages built fr
pn ppthtml <none> (no description available)
ii rpm 4.8.1-6+squeeze1 package manager for RPM
pn source-highlight <none> (no description available)
ii turba2 2.3.4+debian0-1 contact management component for h
pn unrtf <none> (no description available)
pn webcpp <none> (no description available)
ii wv 1.2.4-2+b1 Programs for accessing Microsoft W
pn xlhtml <none> (no description available)
-- Configuration Files:
/etc/horde/horde3/.htaccess changed:
Deny from all
Allow from 81.255.58.218
/etc/horde/horde3/conf.php changed:
<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: horde/config/conf.xml,v 1.74.2.89 2010/04/21 08:02:24 jan Exp $
$conf['vhosts'] = false;
$conf['debug_level'] = E_ALL & ~E_NOTICE;
$conf['max_exec_time'] = 120;
$conf['compress_pages'] = true;
$conf['secret_key'] = '27d3e7f3c3974e7ce1967d7719d55ccc43a7ed42';
$conf['umask'] = 077;
$conf['use_ssl'] = 2;
$conf['server']['name'] = $_SERVER['SERVER_NAME'];
$conf['server']['port'] = $_SERVER['SERVER_PORT'];
$conf['urls']['token_lifetime'] = 30;
$conf['urls']['hmac_lifetime'] = 30;
$conf['urls']['pretty'] = false;
$conf['safe_ips'] = array();
$conf['session']['name'] = 'Horde';
$conf['session']['use_only_cookies'] = true;
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['timeout'] = 0;
$conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
$conf['cookie']['path'] = '/';
$conf['sql']['persistent'] = false;
$conf['sql']['username'] = 'horde';
$conf['sql']['password'] = 'horde!!e';
$conf['sql']['protocol'] = 'unix';
$conf['sql']['database'] = 'horde';
$conf['sql']['charset'] = 'utf8';
$conf['sql']['ssl'] = false;
$conf['sql']['splitread'] = false;
$conf['sql']['phptype'] = 'mysql';
$conf['auth']['admins'] = array('admin', 'tech', 'Administrator', 'stephane.chiron at mimizan.net', 'hostmaster at cc-mimizan.fr', 'chiron-s at cc-mimizan.fr');
$conf['auth']['checkip'] = true;
$conf['auth']['checkbrowser'] = true;
$conf['auth']['alternate_login'] = false;
$conf['auth']['redirect_on_logout'] = false;
$conf['auth']['list_users'] = 'list';
$conf['auth']['params']['persistent'] = false;
$conf['auth']['params']['username'] = 'postfix';
$conf['auth']['params']['password'] = 'post!!e';
$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['port'] = 3306;
$conf['auth']['params']['protocol'] = 'tcp';
$conf['auth']['params']['database'] = 'postfix';
$conf['auth']['params']['charset'] = 'utf8';
$conf['auth']['params']['ssl'] = false;
$conf['auth']['params']['splitread'] = false;
$conf['auth']['params']['phptype'] = 'mysql';
$conf['auth']['params']['driverconfig'] = 'custom';
$conf['auth']['params']['table'] = 'mailbox';
$conf['auth']['params']['username_field'] = 'username';
$conf['auth']['params']['password_field'] = 'password';
$conf['auth']['params']['encryption'] = 'crypt-md5';
$conf['auth']['params']['show_encryption'] = false;
$conf['auth']['driver'] = 'sql';
$conf['signup']['allow'] = false;
$conf['log']['priority'] = PEAR_LOG_INFO;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();
$conf['log']['name'] = '/var/log/horde/horde3.log';
$conf['log']['params']['append'] = true;
$conf['log']['type'] = 'file';
$conf['log']['enabled'] = true;
$conf['log_accesskeys'] = false;
$conf['prefs']['params']['driverconfig'] = 'horde';
$conf['prefs']['driver'] = 'sql';
$conf['alarms']['driver'] = false;
$conf['datatree']['params']['driverconfig'] = 'horde';
$conf['datatree']['driver'] = 'sql';
$conf['group']['driver'] = 'datatree';
$conf['group']['cache'] = true;
$conf['perms']['driver'] = 'datatree';
$conf['share']['no_sharing'] = false;
$conf['share']['any_group'] = false;
$conf['share']['cache'] = false;
$conf['share']['driver'] = 'datatree';
$conf['cache']['default_lifetime'] = 1800;
$conf['cache']['params']['dir'] = '/tmp';
$conf['cache']['params']['sub'] = 0;
$conf['cache']['driver'] = 'file';
$conf['lock']['driver'] = 'none';
$conf['token']['driver'] = 'none';
$conf['mailer']['params']['sendmail_path'] = '/usr/lib/sendmail';
$conf['mailer']['params']['sendmail_args'] = '-oi';
$conf['mailer']['type'] = 'sendmail';
$conf['mailformat']['brokenrfc2231'] = false;
$conf['vfs']['params']['vfsroot'] = '/tmp';
$conf['vfs']['type'] = 'file';
$conf['sessionhandler']['type'] = 'none';
$conf['sessionhandler']['memcache'] = false;
$conf['mime']['magic_db'] = '/usr/share/file/magic.mime';
$conf['problems']['email'] = 'hostmaster at cc-mimizan.fr';
$conf['problems']['maildomain'] = 'cc-mimizan.fr';
$conf['problems']['tickets'] = false;
$conf['problems']['attachments'] = true;
$conf['menu']['apps'] = array();
$conf['menu']['always'] = true;
$conf['menu']['links']['help'] = 'authenticated';
$conf['menu']['links']['options'] = 'authenticated';
$conf['menu']['links']['problem'] = 'authenticated';
$conf['menu']['links']['login'] = 'all';
$conf['menu']['links']['logout'] = 'authenticated';
$conf['hooks']['permsdenied'] = false;
$conf['hooks']['username'] = false;
$conf['hooks']['preauthenticate'] = false;
$conf['hooks']['postauthenticate'] = false;
$conf['hooks']['authldap'] = false;
$conf['hooks']['groupldap'] = false;
$conf['portal']['fixed_blocks'] = array();
$conf['accounts']['driver'] = 'null';
$conf['user']['verify_from_addr'] = false;
$conf['imsp']['enabled'] = false;
$conf['kolab']['enabled'] = false;
$conf['memcache']['enabled'] = false;
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
/etc/horde/horde3/registry.php changed:
<?php
/**
* registry.php -- Horde application registry.
*
* $Horde: horde/config/registry.php.dist,v 1.255.2.25 2008/05/25 21:39:05 chuck Exp $
*
* This configuration file is used by Horde to determine which Horde
* applications are installed and where, as well as how they interact.
*
* Application registry
* --------------------
* The following settings register installed Horde applications.
* By default, Horde assumes that the application directories live
* inside the horde directory.
*
* Attribute Type Description
* --------- ---- -----------
* fileroot string The base filesystem path for the module's files.
* webroot string The base URI for the module.
* jsuri string The base URI for static javascript files.
* jsfs string The base filesystem path for static javascript files.
* themesuri string The base URI for the themes. This can be used to
* serve all icons and style sheets from a separate
* server.
* themesfs string The base file system directory for the themes.
* icon string The URI for an icon to show in menus for the module.
* Setting this will override the default theme-based
* logic in the code.
* name string The name used in menus and descriptions for a module
* status string 'inactive', 'hidden', 'notoolbar', 'heading',
* 'block', 'admin', or 'active'.
* provides string Service types the module provides.
* initial_page string The initial (default) page (filename) for the module.
* templates string The filesystem path to the templates directory.
* menu_parent string The name of the 'heading' group that this app should
* show up under.
* target string The (optional) target frame for the link.
* url string The (optional) URL of 'heading' entries.
*/
// We try to automatically determine the proper webroot for Horde here. This
// still assumes that applications live under horde/. If this results in
// incorrect results for you, simply change the 'webroot' setting in the
// 'horde' stanza below.
if (isset($_SERVER['PHP_SELF'])) {
$webroot = preg_split(';/;', $_SERVER['PHP_SELF'], 2, PREG_SPLIT_NO_EMPTY);
$webroot = strstr(dirname(__FILE__), DIRECTORY_SEPARATOR . array_shift($webroot));
if ($webroot !== false) {
$webroot = preg_replace(array('/\\\\/', ';/config$;'), array('/', ''), $webroot);
} elseif ($webroot === false) {
$webroot = '';
} else {
$webroot = '/horde3';
}
} else {
$webroot = '/horde3';
}
$this->applications['horde'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/..',
// To respect Debian FHS policy, config/ is in /etc/ directory
// Then _detect_webroot() is unusable in Debian
// 'webroot' => _detect_webroot(),
//'webroot' => '/horde3',
//'webroot' => $webroot,
'webroot' => '',
'initial_page' => 'login.php',
'name' => _("Horde"),
'status' => 'active',
'templates' => '/usr/share/horde3/lib' . '/../templates',
'provides' => 'horde',
);
$this->applications['mimp'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../mimp',
'webroot' => $this->applications['horde']['webroot'] . '/mimp',
'name' => _("Mobile Mail"),
'status' => 'notoolbar',
);
$this->applications['dimp'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../dimp',
'webroot' => $this->applications['horde']['webroot'] . '/dimp',
'name' => _("Dynamic Mail"),
'status' => 'notoolbar',
);
$this->applications['imp'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../imp',
'webroot' => $this->applications['horde']['webroot'] . '/imp',
'name' => _("Mail"),
'status' => 'active',
'provides' => array('mail', 'contacts/favouriteRecipients')
);
$this->applications['ingo'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../ingo',
'webroot' => $this->applications['horde']['webroot'] . '/ingo',
'name' => _("Filters"),
'status' => 'active',
'provides' => array('mail/blacklistFrom', 'mail/showBlacklist', 'mail/whitelistFrom', 'mail/showWhitelist', 'mail/applyFilters', 'mail/canApplyFilters', 'mail/showFilters'),
'menu_parent' => 'imp'
);
$this->applications['sam'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../sam',
'webroot' => $this->applications['horde']['webroot'] . '/sam',
'name' => _("Spam"),
'status' => 'active',
// Uncomment this line if you want Sam to handle the blacklist filter
// instead of Ingo:
// 'provides' => array('mail/blacklistFrom', 'mail/showBlacklist', 'mail/whitelistFrom', 'mail/showWhitelist'),
'menu_parent' => 'imp'
);
$this->applications['forwards'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../forwards',
'webroot' => $this->applications['horde']['webroot'] . '/forwards',
'name' => _("Forwards"),
'status' => 'active',
'provides' => 'forwards',
'menu_parent' => 'imp',
);
$this->applications['vacation'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../vacation',
'webroot' => $this->applications['horde']['webroot'] . '/vacation',
'name' => _("Vacation"),
'status' => 'active',
'provides' => 'vacation',
'menu_parent' => 'imp'
);
$this->applications['imp-folders'] = array(
'status' => 'block',
'app' => 'imp',
'blockname' => 'tree_folders',
'menu_parent' => 'imp',
);
$this->applications['organizing'] = array(
'name' => _("Organizing"),
'status' => 'heading',
);
$this->applications['turba'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../turba',
'webroot' => $this->applications['horde']['webroot'] . '/turba',
'name' => _("Address Book"),
'status' => 'active',
'provides' => array('contacts', 'clients/getClientSource', 'clients/clientFields', 'clients/getClient', 'clients/getClients', 'clients/addClient', 'clients/updateClient', 'clients/deleteClient', 'clients/searchClients'),
'menu_parent' => 'organizing'
);
$this->applications['turba-menu'] = array(
'status' => 'block',
'app' => 'turba',
'blockname' => 'tree_menu',
'menu_parent' => 'turba',
);
$this->applications['kronolith'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../kronolith',
'webroot' => $this->applications['horde']['webroot'] . '/kronolith',
'name' => _("Calendar"),
'status' => 'active',
'provides' => 'calendar',
'menu_parent' => 'organizing'
);
$this->applications['kronolith-alarms'] = array(
'status' => 'block',
//'status' => 'inactive',
'app' => 'kronolith',
'blockname' => 'tree_alarms',
'menu_parent' => 'kronolith',
);
$this->applications['kronolith-menu'] = array(
'status' => 'block',
'app' => 'kronolith',
'blockname' => 'tree_menu',
'menu_parent' => 'kronolith',
);
$this->applications['nag'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../nag',
'webroot' => $this->applications['horde']['webroot'] . '/nag',
'name' => _("Tasks"),
'status' => 'active',
'provides' => 'tasks',
'menu_parent' => 'organizing'
);
$this->applications['nag-alarms'] = array(
'status' => 'block',
'app' => 'nag',
'blockname' => 'tree_alarms',
'menu_parent' => 'nag',
);
$this->applications['nag-menu'] = array(
'status' => 'block',
'app' => 'nag',
'blockname' => 'tree_menu',
'menu_parent' => 'nag',
);
$this->applications['mnemo'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../mnemo',
'webroot' => $this->applications['horde']['webroot'] . '/mnemo',
'name' => _("Notes"),
'status' => 'active',
'provides' => 'notes',
'menu_parent' => 'organizing'
);
$this->applications['mnemo-menu'] = array(
'status' => 'block',
'app' => 'mnemo',
'blockname' => 'tree_menu',
'menu_parent' => 'mnemo',
);
$this->applications['genie'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../genie',
'webroot' => $this->applications['horde']['webroot'] . '/genie',
'name' => _("Wishlist"),
'status' => 'active',
'provides' => 'wishlist',
'menu_parent' => 'organizing'
);
$this->applications['trean'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../trean',
'webroot' => $this->applications['horde']['webroot'] . '/trean',
'name' => _("Bookmarks"),
'status' => 'active',
'provides' => 'bookmarks',
'menu_parent' => 'organizing'
);
$this->applications['trean-menu'] = array(
'status' => 'block',
'app' => 'trean',
'blockname' => 'tree_menu',
'menu_parent' => 'trean',
);
$this->applications['devel'] = array(
'name' => _("Development"),
'status' => 'heading',
);
$this->applications['chora'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../chora',
'webroot' => $this->applications['horde']['webroot'] . '/chora',
'name' => _("Version Control"),
'status' => 'active',
'menu_parent' => 'devel'
);
$this->applications['chora-menu'] = array(
'status' => 'block',
'app' => 'chora',
'blockname' => 'tree_menu',
'menu_parent' => 'chora',
);
$this->applications['whups'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../whups',
'webroot' => $this->applications['horde']['webroot'] . '/whups',
'name' => _("Tickets"),
'status' => 'active',
'provides' => 'tickets',
'menu_parent' => 'devel',
);
$this->applications['whups-menu'] = array(
'status' => 'block',
'app' => 'whups',
'blockname' => 'tree_menu',
'menu_parent' => 'whups',
);
$this->applications['luxor'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../luxor',
'webroot' => $this->applications['horde']['webroot'] . '/luxor',
'name' => _("X-Ref"),
'status' => 'active',
'menu_parent' => 'devel'
);
$this->applications['info'] = array(
'name' => _("Information"),
'status' => 'heading',
);
$this->applications['klutz'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../klutz',
'webroot' => $this->applications['horde']['webroot'] . '/klutz',
'name' => _("Comics"),
'status' => 'active',
'provides' => 'comics',
'menu_parent' => 'info'
);
$this->applications['mottle'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../mottle',
'webroot' => $this->applications['horde']['webroot'] . '/mottle',
'name' => _("MOTD"),
'status' => 'active',
'menu_parent' => 'info'
);
$this->applications['jonah'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../jonah',
'webroot' => $this->applications['horde']['webroot'] . '/jonah',
'name' => _("News"),
'status' => 'active',
'provides' => 'news',
'menu_parent' => 'info'
);
$this->applications['jonah-menu'] = array(
'status' => 'block',
'app' => 'jonah',
'blockname' => 'tree_menu',
'menu_parent' => 'jonah',
);
$this->applications['goops'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../goops',
'webroot' => $this->applications['horde']['webroot'] . '/goops',
'name' => _("Search Engines"),
'status' => 'active',
'menu_parent' => 'info'
);
$this->applications['office'] = array(
'name' => _("Office"),
'status' => 'heading',
);
$this->applications['juno'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../juno',
'webroot' => $this->applications['horde']['webroot'] . '/juno',
'name' => _("Accounting"),
'status' => 'active',
'menu_parent' => 'office'
);
$this->applications['midas'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../midas',
'webroot' => $this->applications['horde']['webroot'] . '/midas',
'name' => _("Ads"),
'status' => 'active',
'menu_parent' => 'office'
);
$this->applications['sesha'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../sesha',
'webroot' => $this->applications['horde']['webroot'] . '/sesha',
'name' => _("Inventory"),
'status' => 'active',
// Uncomment this line if you want Sesha to provide queue and version
// names instead of Whups:
// 'provides' => array('tickets/listQueues', 'tickets/getQueueDetails', 'tickets/listVersions', 'tickets/getVersionDetails'),
'menu_parent' => 'office',
);
$this->applications['hermes'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../hermes',
'webroot' => $this->applications['horde']['webroot'] . '/hermes',
'name' => _("Time Tracking"),
'status' => 'active',
'menu_parent' => 'office',
'provides' => 'time'
);
$this->applications['hermes-stopwatch'] = array(
'status' => 'block',
'app' => 'hermes',
'blockname' => 'tree_stopwatch',
'menu_parent' => 'hermes',
);
$this->applications['hermes-menu'] = array(
'status' => 'block',
'app' => 'hermes',
'blockname' => 'tree_menu',
'menu_parent' => 'hermes',
);
$this->applications['myaccount'] = array(
'name' => _("My Account"),
'status' => 'heading',
);
$this->applications['gollem'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../gollem',
'webroot' => $this->applications['horde']['webroot'] . '/gollem',
'name' => _("File Manager"),
'status' => 'active',
'menu_parent' => 'myaccount',
'provides' => 'files',
);
$this->applications['gollem-menu'] = array(
'status' => 'block',
'app' => 'gollem',
'blockname' => 'tree_menu',
'menu_parent' => 'gollem',
);
$this->applications['passwd'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../passwd',
'webroot' => $this->applications['horde']['webroot'] . '/passwd',
'name' => _("Password"),
'status' => 'active',
'menu_parent' => 'myaccount'
);
$this->applications['jeta'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../jeta',
'webroot' => $this->applications['horde']['webroot'] . '/jeta',
'name' => _("SSH"),
'status' => 'active',
'menu_parent' => 'myaccount'
);
$this->applications['website'] = array(
'name' => _("Web Site"),
'status' => 'heading',
);
$this->applications['agora'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../agora',
'webroot' => $this->applications['horde']['webroot'] . '/agora',
'name' => _("Forums"),
'status' => 'active',
'provides' => 'forums',
'menu_parent' => 'website'
);
$this->applications['ulaform'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../ulaform',
'webroot' => $this->applications['horde']['webroot'] . '/ulaform',
'name' => _("Forms"),
'status' => 'active',
'menu_parent' => 'website'
);
$this->applications['volos'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../volos',
'webroot' => $this->applications['horde']['webroot'] . '/volos',
'name' => _("Guestbook"),
'status' => 'active',
'menu_parent' => 'website'
);
$this->applications['ansel'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../ansel',
'webroot' => $this->applications['horde']['webroot'] . '/ansel',
'name' => _("Photos"),
'status' => 'active',
'provides' => 'images',
'menu_parent' => 'website'
);
$this->applications['scry'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../scry',
'webroot' => $this->applications['horde']['webroot'] . '/scry',
'name' => _("Polls"),
'status' => 'active',
'provides' => 'polls',
'menu_parent' => 'website'
);
$this->applications['merk'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../merk',
'webroot' => $this->applications['horde']['webroot'] . '/merk',
'name' => _("Shopping"),
'status' => 'active',
'provides' => 'shop',
'menu_parent' => 'website'
);
$this->applications['wicked'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../wicked',
'webroot' => $this->applications['horde']['webroot'] . '/wicked',
'name' => _("Wiki"),
'status' => 'active',
'provides' => 'wiki',
'menu_parent' => 'website'
);
$this->applications['vilma'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../vilma',
'webroot' => $this->applications['horde']['webroot'] . '/vilma',
'name' => _("Mail Admin"),
'status' => 'active',
'menu_parent' => 'administration'
);
$this->applications['nic'] = array(
'fileroot' => '/usr/share/horde3/lib' . '/../nic',
'webroot' => $this->applications['horde']['webroot'] . '/nic',
'name' => _("Network Tools"),
'status' => 'active',
'menu_parent' => 'administration'
);
function _detect_webroot()
{
// Note for Windows users: the below assumes that your PHP_SELF variable
// uses forward slashes. If it does not, you'll have to tweak this.
if (isset($_SERVER['SCRIPT_URL']) || isset($_SERVER['SCRIPT_NAME'])) {
$path = empty($_SERVER['SCRIPT_URL']) ?
$_SERVER['SCRIPT_NAME'] :
$_SERVER['SCRIPT_URL'];
$hordedir = str_replace(DIRECTORY_SEPARATOR, '/', __FILE__);
$hordedir = basename(preg_replace(';/config/registry.php$;', '', $hordedir));
if (preg_match(';/' . $hordedir . ';', $path)) {
$webroot = preg_replace(';/' . $hordedir . '.*;', '/' . $hordedir, $path);
} else {
$webroot = '';
}
} elseif (isset($_SERVER['PHP_SELF'])) {
$webroot = preg_split(';/;', $_SERVER['PHP_SELF'], 2, PREG_SPLIT_NO_EMPTY);
$webroot = strstr(dirname(__FILE__), DIRECTORY_SEPARATOR . array_shift($webroot));
if ($webroot !== false) {
$webroot = preg_replace(array('/\\\\/', ';/config$;'), array('/', ''), $webroot);
} elseif ($webroot === false) {
$webroot = '';
} else {
$webroot = '/horde3';
}
} else {
$webroot = '/horde3';
}
return $webroot;
}
/etc/logrotate.d/horde3 [Errno 2] Aucun fichier ou dossier de ce type: u'/etc/logrotate.d/horde3'
-- no debconf information
More information about the pkg-horde-hackers
mailing list