Пример #1
0
 function setUp()
 {
     global $wgEnableUploads;
     $wgEnableUploads = true;
     parent::setup();
     $wgLocalFileRepo = array('class' => 'LocalRepo', 'name' => 'local', 'directory' => 'test-repo', 'url' => 'http://example.com/images', 'hashLevels' => 2, 'transformVia404' => false);
     ini_set('log_errors', 1);
     ini_set('error_reporting', 1);
     ini_set('display_errors', 1);
 }
Пример #2
0
 function setup()
 {
     parent::setup();
 }