[pkg-horde] Bug#685819: horde3: "PHP Strict Standards" warnings fill apache-logs

IOhannes m zmölnig zmoelnig at umlaeute.mur.at
Fri Aug 24 19:49:10 UTC 2012


Package: horde3
Version: 3.3.12+debian0-2.2
Severity: important

Dear Maintainer,

i've recently setup a horde3/imp4/ingo1 installation.
everything works fine, but after the server went into production mode, i
noticed, that the apache2 error-logs start filling my harddisk.
the problem seems to be the horde3 installation, which throws a number of "PHP
Strict Standards" errors for every access.

it seems that the horde is working fine (i don't see any errors in the
webfrontend).

however, the amount of logentries is considerable, e.g. todays logs are 56MB,
which originate from the legitimate access of only 3 IPs (that's 2 unique
clients, as one got a new IP assigned from the ISP)

i have the feeling that this makes the system quite fragile with regard to DoS
attacks (imagine the amount of logs an attacker could generate, if 2 benevolent
users manage 56MB per day)

my /etc/php5/apache2/php.ini has the default:
  error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT


i attach a small portion of my apache2 logs (but note that there are about 4324
such entries generated at 21:28:51 alone; the attached excerpt only shows 10 of
them)




-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages horde3 depends on:
ii  apache2                      2.2.22-11
ii  apache2-mpm-prefork [httpd]  2.2.22-11
ii  libapache2-mod-php5          5.4.4-4
ii  libjs-scriptaculous          1.9.0-2
ii  php-log                      1.12.3-1
ii  php-mail                     1.2.0-4
ii  php-mail-mime                1.8.4-1
ii  php5-gd                      5.4.4-4
ii  php5-mcrypt                  5.4.4-4

Versions of packages horde3 recommends:
ii  fckeditor              1:2.6.6-3
ii  locales                2.13-35
ii  logrotate              3.8.1-4
ii  php-date               1.4.7-1
ii  php-db                 1.7.14-2
ii  php-file               1.3.0-1
ii  php-mdb2               2.5.0b3-2
ii  php-mdb2-driver-pgsql  1.5.0b2-1
ii  php-services-weather   1.4.2-3
ii  php5-cli               5.4.4-4
ii  php5-mysql             5.4.4-4
ii  php5-pgsql             5.4.4-4
ii  tinymce2               2.1.3-1

Versions of packages horde3 suggests:
pn  chora2                    <none>
pn  enscript                  <none>
ii  gettext                   0.18.1.1-9
pn  gollem                    <none>
ii  imp4                      4.3.7+debian0-2.2
pn  kronolith2                <none>
ii  libgeoip1                 1.4.8+dfsg-3
pn  libwpd-tools              <none>
pn  mnemo2                    <none>
pn  php-net-imap              <none>
pn  php5-auth-pam             <none>
ii  php5-common [php5-mhash]  5.4.4-4
pn  ppthtml                   <none>
pn  rpm                       <none>
pn  source-highlight          <none>
pn  turba2                    <none>
pn  unrtf                     <none>
pn  webcpp                    <none>
pn  wv                        <none>
pn  xlhtml                    <none>

-- Configuration Files:
/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.91 2011/01/24 18:33:10 jan Exp $
$conf['vhosts'] = false;
$conf['debug_level'] = E_ALL;
$conf['max_exec_time'] = 0;
$conf['compress_pages'] = true;
$conf['secret_key'] = '91b4318a80fdc7db15d8dcf316600390fe049bc3';
$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'] = '/horde3';
$conf['sql']['persistent'] = false;
$conf['sql']['username'] = 'XXX';
$conf['sql']['password'] = 'XXX';
$conf['sql']['hostspec'] = 'localhost';
$conf['sql']['protocol'] = 'tcp';
$conf['sql']['database'] = 'horde';
$conf['sql']['charset'] = 'utf-8';
$conf['sql']['phptype'] = 'pgsql';
$conf['auth']['admins'] = array('Administrator', 'zmoelnig');
$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']['app'] = 'imp';
$conf['auth']['driver'] = 'application';
$conf['signup']['allow'] = false;
$conf['log']['priority'] = PEAR_LOG_NOTICE;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();
$conf['log']['name'] = '/var/log/horde/horde.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']['driver'] = 'null';
$conf['group']['driver'] = 'datatree';
$conf['group']['cache'] = false;
$conf['perms']['driver'] = 'datatree';
$conf['share']['no_sharing'] = true;
$conf['share']['any_group'] = false;
$conf['share']['cache'] = false;
$conf['share']['driver'] = 'datatree';
$conf['cache']['default_lifetime'] = 1800;
$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['problems']['email'] = 'XXX';
$conf['problems']['maildomain'] = 'XXX';
$conf['problems']['tickets'] = false;
$conf['problems']['attachments'] = true;
$conf['menu']['apps'] = array('imp');
$conf['menu']['always'] = true;
$conf['menu']['links']['help'] = 'all';
$conf['menu']['links']['options'] = 'authenticated';
$conf['menu']['links']['problem'] = 'all';
$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.27 2009/07/24 08:58:06 jan 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.
$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',
    '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',
    'target' => '_parent',
);
$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('filter', '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' => 'inactive',
    // 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' => 'inactive',
    'provides' => 'forwards',
    'menu_parent' => 'imp',
);
$this->applications['vacation'] = array(
    'fileroot' => '/usr/share/horde3/lib' . '/../vacation',
    'webroot' => $this->applications['horde']['webroot'] . '/vacation',
    'name' => _("Vacation"),
    'status' => 'inactive',
    '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' => 'inactive',
    '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' => 'inactive',
    'provides' => 'calendar',
    'menu_parent' => 'organizing'
);
$this->applications['kronolith-alarms'] = array(
    'status' => 'block',
    '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' => 'inactive',
    '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' => 'inactive',
    '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' => 'inactive',
    'provides' => 'wishlist',
    'menu_parent' => 'organizing'
);
$this->applications['trean'] = array(
    'fileroot' => '/usr/share/horde3/lib' . '/../trean',
    'webroot' => $this->applications['horde']['webroot'] . '/trean',
    'name' => _("Bookmarks"),
    'status' => 'inactive',
    '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' => 'inactive',
    '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' => 'inactive',
    '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' => 'inactive',
    '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' => 'inactive',
    'provides' => 'comics',
    'menu_parent' => 'info'
);
$this->applications['mottle'] = array(
    'fileroot' => '/usr/share/horde3/lib' . '/../mottle',
    'webroot' => $this->applications['horde']['webroot'] . '/mottle',
    'name' => _("MOTD"),
    'status' => 'inactive',
    'menu_parent' => 'info'
);
$this->applications['jonah'] = array(
    'fileroot' => '/usr/share/horde3/lib' . '/../jonah',
    'webroot' => $this->applications['horde']['webroot'] . '/jonah',
    'name' => _("News"),
    'status' => 'inactive',
    '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' => 'inactive',
    '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' => 'inactive',
    'menu_parent' => 'office'
);
$this->applications['midas'] = array(
    'fileroot' => '/usr/share/horde3/lib' . '/../midas',
    'webroot' => $this->applications['horde']['webroot'] . '/midas',
    'name' => _("Ads"),
    'status' => 'inactive',
    'menu_parent' => 'office'
);
$this->applications['sesha'] = array(
    'fileroot' => '/usr/share/horde3/lib' . '/../sesha',
    'webroot' => $this->applications['horde']['webroot'] . '/sesha',
    'name' => _("Inventory"),
    'status' => 'inactive',
    // 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' => 'inactive',
    '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' => 'inactive',
    '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' => 'inactive',
    'menu_parent' => 'myaccount'
);
$this->applications['jeta'] = array(
    'fileroot' => '/usr/share/horde3/lib' . '/../jeta',
    'webroot' => $this->applications['horde']['webroot'] . '/jeta',
    'name' => _("SSH"),
    'status' => 'inactive',
    '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' => 'inactive',
    'provides' => 'forums',
    'menu_parent' => 'website'
);
$this->applications['ulaform'] = array(
    'fileroot' => '/usr/share/horde3/lib' . '/../ulaform',
    'webroot' => $this->applications['horde']['webroot'] . '/ulaform',
    'name' => _("Forms"),
    'status' => 'inactive',
    'menu_parent' => 'website'
);
$this->applications['volos'] = array(
    'fileroot' => '/usr/share/horde3/lib' . '/../volos',
    'webroot' => $this->applications['horde']['webroot'] . '/volos',
    'name' => _("Guestbook"),
    'status' => 'inactive',
    'menu_parent' => 'website'
);
$this->applications['ansel'] = array(
    'fileroot' => '/usr/share/horde3/lib' . '/../ansel',
    'webroot' => $this->applications['horde']['webroot'] . '/ansel',
    'name' => _("Photos"),
    'status' => 'inactive',
    'provides' => 'images',
    'menu_parent' => 'website'
);
$this->applications['scry'] = array(
    'fileroot' => '/usr/share/horde3/lib' . '/../scry',
    'webroot' => $this->applications['horde']['webroot'] . '/scry',
    'name' => _("Polls"),
    'status' => 'inactive',
    'provides' => 'polls',
    'menu_parent' => 'website'
);
$this->applications['merk'] = array(
    'fileroot' => '/usr/share/horde3/lib' . '/../merk',
    'webroot' => $this->applications['horde']['webroot'] . '/merk',
    'name' => _("Shopping"),
    'status' => 'inactive',
    'provides' => 'shop',
    'menu_parent' => 'website'
);
$this->applications['wicked'] = array(
    'fileroot' => '/usr/share/horde3/lib' . '/../wicked',
    'webroot' => $this->applications['horde']['webroot'] . '/wicked',
    'name' => _("Wiki"),
    'status' => 'inactive',
    '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' => 'inactive',
    'menu_parent' => 'administration'
);
$this->applications['nic'] = array(
    'fileroot' => '/usr/share/horde3/lib' . '/../nic',
    'webroot' => $this->applications['horde']['webroot'] . '/nic',
    'name' => _("Network Tools"),
    'status' => 'inactive',
    '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;
}


-- no debconf information
-------------- next part --------------
[Fri Aug 24 21:18:46 2012] [error] [client X.X.X.X] PHP Strict Standards:  Non-static method String::convertCharset() should not be called statically, assuming $this from incompatible context in /usr/share/horde3/lib/Horde/String.php on line 102, referer: https://example.com/horde3/services/portal/sidebar.php
[Fri Aug 24 21:18:46 2012] [error] [client X.X.X.X] PHP Strict Standards:  Non-static method String::lower() should not be called statically, assuming $this from incompatible context in /usr/share/horde3/lib/Horde/String.php on line 92, referer: https://example.com/horde3/services/portal/sidebar.php
[Fri Aug 24 21:18:46 2012] [error] [client X.X.X.X] PHP Strict Standards:  Non-static method String::lower() should not be called statically, assuming $this from incompatible context in /usr/share/horde3/lib/Horde/String.php on line 93, referer: https://example.com/horde3/services/portal/sidebar.php
[Fri Aug 24 21:18:46 2012] [error] [client X.X.X.X] PHP Strict Standards:  Non-static method String::_convertCharset() should not be called statically, assuming $this from incompatible context in /usr/share/horde3/lib/Horde/String.php on line 126, referer: https://example.com/horde3/services/portal/sidebar.php
[Fri Aug 24 21:18:46 2012] [error] [client X.X.X.X] PHP Strict Standards:  Non-static method String::_convertCharset() should not be called statically, assuming $this from incompatible context in /usr/share/horde3/lib/Horde/String.php on line 102, referer: https://example.com/horde3/services/portal/sidebar.php
[Fri Aug 24 21:18:46 2012] [error] [client X.X.X.X] PHP Strict Standards:  Non-static method String::convertCharset() should not be called statically, assuming $this from incompatible context in /usr/share/horde3/lib/Horde/String.php on line 102, referer: https://example.com/horde3/services/portal/sidebar.php
[Fri Aug 24 21:18:46 2012] [error] [client X.X.X.X] PHP Strict Standards:  Non-static method String::lower() should not be called statically, assuming $this from incompatible context in /usr/share/horde3/lib/Horde/String.php on line 92, referer: https://example.com/horde3/services/portal/sidebar.php
[Fri Aug 24 21:18:46 2012] [error] [client X.X.X.X] PHP Strict Standards:  Non-static method String::lower() should not be called statically, assuming $this from incompatible context in /usr/share/horde3/lib/Horde/String.php on line 93, referer: https://example.com/horde3/services/portal/sidebar.php
[Fri Aug 24 21:18:46 2012] [error] [client X.X.X.X] PHP Strict Standards:  Non-static method String::_convertCharset() should not be called statically, assuming $this from incompatible context in /usr/share/horde3/lib/Horde/String.php on line 126, referer: https://example.com/horde3/services/portal/sidebar.php
[Fri Aug 24 21:18:46 2012] [error] [client X.X.X.X] PHP Strict Standards:  Non-static method Util::extensionExists() should not be called statically, assuming $this from incompatible context in /usr/share/horde3/lib/Horde/Serialize.php on line 269, referer: https://example.com/horde3/services/portal/sidebar.php


More information about the pkg-horde-hackers mailing list