Skip to content
Snippets Groups Projects
  • Michael Hamann's avatar
    06368e4d
    Fixed testcase and getID - FS#1908 FS#1831 FS#1838 · 06368e4d
    Michael Hamann authored
    $_SERVER['PATH_INFO'] is used now to determine the page id when using
    internal rewriting, in all testcases I've seen so far this variable
    was set correctly. There are also a couple of fallbacks if the variable
    doesn't exist, $_SERVER['SCRIPT_NAME'] is now preferred instead of
    custom path extraction which fails when doku.php is outside the document
    root.
    06368e4d
    History
    Fixed testcase and getID - FS#1908 FS#1831 FS#1838
    Michael Hamann authored
    $_SERVER['PATH_INFO'] is used now to determine the page id when using
    internal rewriting, in all testcases I've seen so far this variable
    was set correctly. There are also a couple of fallbacks if the variable
    doesn't exist, $_SERVER['SCRIPT_NAME'] is now preferred instead of
    custom path extraction which fails when doku.php is outside the document
    root.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.