mirror of
https://github.com/djav1985/v-wordpress-plugin-updater.git
synced 2025-08-17 18:11:17 +08:00
modified: update-api/autoload.php
This commit is contained in:
parent
03ba97e873
commit
9927da4060
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,9 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Simple PSR-4 autoloader for the App namespace.
|
||||
*/
|
||||
|
||||
spl_autoload_register(function ($class) {
|
||||
$prefix = 'App\\';
|
||||
$baseDir = __DIR__ . '/app/';
|
||||
|
@ -15,4 +17,3 @@ spl_autoload_register(function ($class) {
|
|||
require_once $file;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue