Skip to content

Commit

Permalink
🐛 #270 correção autoload linux
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Aug 4, 2022
1 parent 1d6e2d6 commit d0e5a28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions appexemplo_v2.0/api/autoload_appev2_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
if ( !function_exists( 'appev2_api_autoload') ) {
function appev2_api_autoload( $class_name )
{
$class_name = str_replace('\\',DS,$class_name);
$path = __DIR__.DS.$class_name.'.class.php';
if (file_exists($path)){
require_once $path;
Expand Down

0 comments on commit d0e5a28

Please sign in to comment.