Extension talk:SignDocument

From mediawiki.org
Jump to navigation Jump to search

Hey

There is a failure in SignDocument.php (working with SLES 10 SP2)

   if ( !function_exists( 'extAddSpecialPage' ) ) {
       require( dirname(__FILE__) . '/../ExtensionFunctions.php' );
   }

links to /srv/www/htdocs/wiki/extensions/SignDocument/SignDocument.php./../ExtensionFunctions.php

Use instead

   if ( !function_exists( 'extAddSpecialPage' ) ) {
       require( realpath('./../ExtensionFunctions.php' );
   }


This will work..


regards