Changeset 4675
- Timestamp:
- 07/13/08 00:03:22 (5 months ago)
- Files:
-
- 1 modified
-
branches/1.0/tools/docs/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/tools/docs/index.php
r4542 r4675 2 2 error_reporting(E_ALL); 3 3 4 $includePath = dirname(dirname( __FILE__)) . DIRECTORY_SEPARATOR . 'lib' . PATH_SEPARATOR5 . dirname( __FILE__). DIRECTORY_SEPARATOR . 'lib' . PATH_SEPARATOR6 . dirname(dirname( __FILE__)) . DIRECTORY_SEPARATOR . 'vendor';4 $includePath = dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'lib' . PATH_SEPARATOR 5 . dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'docs' . DIRECTORY_SEPARATOR . 'lib' . PATH_SEPARATOR 6 . dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'vendor'; 7 7 8 8 set_include_path($includePath); … … 165 165 // If table of contents was not cached, parse it from documentation files 166 166 if ( ! $toc instanceof Sensei_Doc_Toc) { 167 $toc = new Sensei_Doc_Toc( 'docs/ja.txt');167 $toc = new Sensei_Doc_Toc(dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'docs' . DIRECTORY_SEPARATOR . 'manual' . DIRECTORY_SEPARATOR . 'en.txt'); 168 168 $cache->save($toc, 'toc'); 169 169 }