Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Oct 13, 2023
2 parents 3827572 + 4b9b002 commit fe3c053
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion preload.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
require __DIR__ . '/vendor/autoload.php';
require __DIR__ . '/vendor/aplus/autoload/src/Preloader.php';

use Framework\Autoload\Preloader;

Expand Down
4 changes: 1 addition & 3 deletions public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
if (class_exists(Composer\Autoload\ClassLoader::class, false) === false
&& is_file(__DIR__ . '/../vendor/autoload.php')
) {
if (is_file(__DIR__ . '/../vendor/autoload.php')) {
require __DIR__ . '/../vendor/autoload.php';
}

Expand Down

0 comments on commit fe3c053

Please sign in to comment.