Permalink
Browse files

move autoload files outside lib folder

  • Loading branch information...
1 parent 0293f41 commit 45b8294c40c075c05ea741be075d40fa4b3645b7 @akDeveloper committed Oct 3, 2012
Showing with 5 additions and 6 deletions.
  1. 0 {lib → }/SplClassLoader.php
  2. +1 −1 {lib → }/autoload.php
  3. +0 −1 index.php
  4. +4 −4 unit_tests/config.php
File renamed without changes.
@@ -2,7 +2,7 @@
date_default_timezone_set('UTC');
require_once 'SplClassLoader.php';
-$loader = new SplClassLoader('AktiveMerchant', dirname(__FILE__));
+$loader = new SplClassLoader('AktiveMerchant', __DIR__ . '/lib/');
$loader->register();
?>
View
@@ -1 +0,0 @@
-<?php ?>
View
@@ -1,6 +1,6 @@
<?php
-require_once dirname(__FILE__) . '/../lib/autoload.php';
-require_once dirname(__FILE__) . '/../test/login.php';
-require_once dirname(__FILE__) . '/AktiveMerchant/Mock/Request.php';
-require_once dirname(__FILE__) . '/AktiveMerchant/TestCase.php';
+require_once __DIR__ . '/../autoload.php';
+require_once __DIR__ . '/../test/login.php';
+require_once __DIR__ . '/AktiveMerchant/Mock/Request.php';
+require_once __DIR__ . '/AktiveMerchant/TestCase.php';
?>

0 comments on commit 45b8294

Please sign in to comment.