Verified Commit 536d005a authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Use __DIR__ instead of ABSPATH

parent 98fcee61
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -42,5 +42,5 @@ endif;
 * Run the Composer autoloader, if available
 * Assume the CWD is always /app and vendor is always in it.
 **/
if ( is_file(ABSPATH . 'vendor/autoload.php') )
	require_once ABSPATH . 'vendor/autoload.php';
if ( is_file(__DIR__ . '/vendor/autoload.php') )
	require_once __DIR__ . '/vendor/autoload.php';