This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

The Urlize component supports Composer autoloader now

  • Loading branch information...
bergie committed Jul 26, 2012
1 parent 36fd365 commit 0eb4a977c2cd7a7a8ff72e139cfd48d5cada315a
Showing with 2 additions and 2 deletions.
  1. +1 −1 composer.json
  2. +1 −1 index.php
View
@@ -1,6 +1,6 @@
{
"require": {
"php": ">=5.2.0",
- "midgard/midgardmvc-helper-urlize": "*"
+ "midgard/midgardmvc-helper-urlize": "1.0.x"
}
}
View
@@ -1,7 +1,7 @@
<?php
// URLizer service
-require 'vendor/midgard/midgardmvc-helper-urlize/interface.php';
+require 'vendor/autoload.php';
// Allow CORS so that this can be easily used from JavaScript
header('Access-Control-Allow-Origin: *');

0 comments on commit 0eb4a97

Please sign in to comment.