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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T6134, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4134 - new 'include_path' setting should incorporate old setting
new 'include_path' setting should incorporate old setting
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.5.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 3250 (view as bug list)
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links