dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PostgreSQL: Drop three unused columns
[lhc/web/wiklou.git]
/
maintenance
/
generateLocalAutoload.php
diff --git
a/maintenance/generateLocalAutoload.php
b/maintenance/generateLocalAutoload.php
index
bec11a0
..
19b7ee5
100644
(file)
--- a/
maintenance/generateLocalAutoload.php
+++ b/
maintenance/generateLocalAutoload.php
@@
-1,6
+1,6
@@
<?php
<?php
-if ( PHP_SAPI != 'cli' ) {
+if ( PHP_SAPI != 'cli'
&& PHP_SAPI != 'phpdbg'
) {
die( "This script can only be run from the command line.\n" );
}
die( "This script can only be run from the command line.\n" );
}
@@
-11,7
+11,7
@@
require_once __DIR__ . '/../includes/utils/AutoloadGenerator.php';
$base = dirname( __DIR__ );
$generator = new AutoloadGenerator( $base, 'local' );
$base = dirname( __DIR__ );
$generator = new AutoloadGenerator( $base, 'local' );
-$generator->set
ExcludePaths( array_values( AutoLoader::getAutoloadNamespaces()
) );
+$generator->set
Psr4Namespaces( AutoLoader::getAutoloadNamespaces(
) );
$generator->initMediaWikiDefault();
// Write out the autoload
$generator->initMediaWikiDefault();
// Write out the autoload