Skip to content

Commit fe29ffc

Browse files
committed
update
1 parent 1908ba5 commit fe29ffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function __autoload($class)
66
{
77
if (strpos($class, 'ipip\db') !== FALSE)
88
{
9-
require_once __DIR__ . '/src/' . $class . '.php';
9+
require_once __DIR__ . '/src/' . implode(DIRECTORY_SEPARATOR, explode('\\', $class)) . '.php';
1010
}
1111
}
1212

0 commit comments

Comments
 (0)