Last modified: 2010-05-15 15:37:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4134 - new 'include_path' setting should incorporate old setting
new 'include_path' setting should incorporate old setting
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: 3250 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2005-12-01 17:54 UTC by Michael Newton
Modified: 2010-05-15 15:37 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Michael Newton 2005-12-01 17:54:32 UTC
LocalSettings.php includes this line:
    ini_set( "include_path", ".;$IP;$IP/includes;$IP/languages" );

However, for email confirmations, PEAR is used (never mind there's no mention of
that in the install docs!) and its directory also needs to be included.

I put this in my file, and it seems like a reasonable thing to have in the
standard install:
    $include_path = ini_get( "include_path" );
    ini_set( "include_path", "$include_path;$IP;$IP/includes;$IP/languages" );
Comment 1 Brion Vibber 2005-12-12 05:00:16 UTC
I'll just point out that PEAR::Mail use is optional and you must manually turn it on; at that point you 
can also change your include_path.

Normally PHP's built-in mail() function is used, which requires no such inclusion.
Comment 2 Brion Vibber 2005-12-12 05:00:57 UTC
*** Bug 3250 has been marked as a duplicate of this bug. ***
Comment 3 Rob Church 2006-07-04 08:44:59 UTC
This was done in SVN trunk, r14087.

Note You need to log in before you can comment on or make changes to this bug.