From b375b10b0c5807e6f04789a4f104504144f540bc Mon Sep 17 00:00:00 2001 From: tureki Date: Fri, 27 Jun 2014 21:22:48 +0800 Subject: [PATCH] update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0f9c273..811c9fc 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Step 1. [Download the latest release](https://github.com/tureki/php-closure-comp Step 2. Include the library: ```php -require_once '[path to phpcc]/phpcc.class.php'; +require_once '[path to phpcc]/phpcc.php'; ``` @@ -45,9 +45,9 @@ require_once '[path to phpcc]/phpcc.class.php'; Download **phpcc** Library. and then require phpcc.class.php in your .php file. You can test sample.php in samples folder. ```php -require '../src/phpcc.class.php'; +require '../src/phpcc.php'; -$phpcc = new PhpCc(array( +$phpcc = new tureki\PhpCc(array( 'java_file' => 'YOUR JAVA FILE PATH', 'jar_file' => '../src/compiler/compiler.jar', 'output_path' => './output/',