Changeset 477 -- 2009-03-02 17:17:40
- Author
anatoo
- Comment
- 他人の環境だとテスト動かなくなってたの修正
Diffs
HatenaSyntax/trunk/test/t/t.php
@@ -2,7 +2,7 @@
include_once dirname(__FILE__) . '/lime.php';
include_once dirname(__FILE__) . '/default.php';
-foreach (array('/../../code', '/../../../peg_trunk/code') as $path) {
+foreach (array('/../../code') as $path) {
set_include_path(dirname(__FILE__) . $path . PATH_SEPARATOR . get_include_path());
}
HatenaSyntax/trunk/sample/sample1.php
@@ -1,5 +1,5 @@
<?php
-include_once dirname(__FILE__) . '/../test/t/t.php';
+include_once dirname(__FILE__) . '/../code/HatenaSyntax.php';
$str = '*header1