Removed pocketmine subdirectory, map PSR-4 style

This commit is contained in:
Dylan K. Taylor 2019-07-30 19:14:57 +01:00
parent 7a77d3dc30
commit 5499ac620c
1044 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@
},
"autoload": {
"psr-4": {
"": ["src"]
"pocketmine\\": "src/"
}
},
"autoload-dev": {

View File

@ -146,7 +146,7 @@ namespace pocketmine {
if(\Phar::running(true) !== ""){
define('pocketmine\PATH', \Phar::running(true) . "/");
}else{
define('pocketmine\PATH', dirname(__FILE__, 3) . DIRECTORY_SEPARATOR);
define('pocketmine\PATH', dirname(__FILE__, 2) . DIRECTORY_SEPARATOR);
}
$opts = getopt("", ["bootstrap:"]);

Some files were not shown because too many files have changed in this diff Show More