Move example files to examples/

This commit is contained in:
filp
2013-03-14 11:20:34 +00:00
parent fea65c005d
commit 6b226d3580
2 changed files with 6 additions and 6 deletions
@@ -7,17 +7,17 @@
* within this project using the --dev flag:
*
* $ composer install --dev
*
*
* Run this example file with the PHP 5.4 web server with:
*
* $ cd project_dir
* $ php -S localhost:8080
*
* and access localhost:8080/example.php through your browser
* and access localhost:8080/examples/example-silex.php through your browser
*
* Or just run it through apache/nginx/what-have-yous as usual.
*/
require __DIR__ . '/vendor/autoload.php';
require __DIR__ . '/../vendor/autoload.php';
use Damnit\Silex\DamnitServiceProvider;
use Silex\Application;
@@ -33,4 +33,4 @@ $app->get('/', function() use($app) {
throw new RuntimeException("Oh no!");
});
$app->run();
$app->run();
+2 -2
View File
@@ -8,7 +8,7 @@
* $ cd project_dir
* $ php -S localhost:8080
*
* and access localhost:8080/example.php through your browser
* and access localhost:8080/example/example.php through your browser
*
* Or just run it through apache/nginx/what-have-yous as usual.
*/
@@ -18,7 +18,7 @@ use Damnit\Run;
use Damnit\Handler\PrettyPageHandler;
use Exception as BaseException;
require __DIR__ . '/vendor/autoload.php';
require __DIR__ . '/../vendor/autoload.php';
class Exception extends BaseException {}