Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

move autoloader to root so it can be easily required when installed v…

…ia pear

Signed-off-by: David A. Cuadrado <krawek@gmail.com>
  • Loading branch information...
commit dff6d3bca0c8a669670f12ea3ac573cba15d26d4 1 parent 2c75a0c
@dcu dcu authored
View
1  .gitignore
@@ -1,3 +1,4 @@
*~
.DS_Store
+package.xml
View
2  lib/Authy.php → Authy.php
@@ -23,7 +23,7 @@
function Authy_autoloader($className)
{
$className = ltrim($className, '\\');
- $baseDir = __DIR__.'/../lib/';
+ $baseDir = __DIR__.'/lib/';
$fileName = '';
$namespace = '';
if ($lastNsPos = strripos($className, '\\')) {
View
2  pearfarm.spec
@@ -3,7 +3,7 @@
require 'lib/Authy/Api.php';
$spec = Pearfarm_PackageSpec::create(array(Pearfarm_PackageSpec::OPT_BASEDIR => dirname(__FILE__)))
- ->setName('authy')
+ ->setName('Authy')
->setChannel('authy.github.com/pear')
->setSummary('A PHP client for Authy')
->setDescription('A PHP client for Authy')
View
2  tests/bootstrap.php
@@ -1,4 +1,4 @@
<?php
require_once __DIR__.'/Authy/TestCase.php';
-require_once __DIR__.'/../lib/Authy.php';
+require_once __DIR__.'/../Authy.php';
Please sign in to comment.
Something went wrong with that request. Please try again.