Make WordPress Core

Opened 12 years ago

Last modified 6 years ago

#11848 closed defect (bug)

bug in apache_mod_loaded() — at Version 1

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.9
Component: General Keywords: has-patch
Focuses: Cc:

Description (last modified by Denis-de-Bernardy)

If apache functions are available, we should not return the default value in apache_mod_loaded().

as things stand, get_mod_rewrite() would return true even if apache_get_modules() says otherwise.

also, phpinfo() is part of php core.

Change History (2)

#1 @Denis-de-Bernardy
12 years ago

  • Description modified (diff)

tested with apache_get_modules() turned on. needs testing with it off, and with php loaded as cgi.

Note: See TracTickets for help on using tickets.