Permalink
Browse files

renamed lib to src

  • Loading branch information...
1 parent 57d3839 commit 3f848713e99c2baf1858fd36e19d5077dbe80e8e @maximebf committed Aug 18, 2012
View
@@ -41,9 +41,9 @@ with the following requirement:
}
Alternatively, you can [download the archive](https://github.com/maximebf/ConsoleKit/zipball/master)
-and add the lib/ folder to PHP's include path:
+and add the src/ folder to PHP's include path:
- set_include_path('/path/to/lib' . PATH_SEPARATOR . get_include_path());
+ set_include_path('/path/to/src' . PATH_SEPARATOR . get_include_path());
ConsoleKit does not provide an autoloader but follows the [PSR-0 convention](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md).
You can use the following snippet to autoload ConsoleKit classes:
View
@@ -15,6 +15,6 @@
"php": ">=5.3.0"
},
"autoload": {
- "psr-0": {"ConsoleKit": "lib/"}
+ "psr-0": {"ConsoleKit": "src/"}
}
}
View
@@ -19,7 +19,7 @@
<filter>
<whitelist>
- <directory>./lib/ConsoleKit/</directory>
+ <directory>./src/ConsoleKit/</directory>
</whitelist>
</filter>
</phpunit>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -2,7 +2,7 @@
set_include_path(implode(PATH_SEPARATOR, array(
__DIR__,
- __DIR__ . '/../lib',
+ __DIR__ . '/../src',
get_include_path()
)));
@@ -11,4 +11,4 @@
$filename = str_replace('\\', DIRECTORY_SEPARATOR, trim($className, '\\')) . '.php';
require_once $filename;
}
-});
+});

0 comments on commit 3f84871

Please sign in to comment.