Fix paths

This commit is contained in:
Sobak
2014-08-03 07:21:12 +02:00
parent 11bedb65e7
commit a068c936b8
3 changed files with 6 additions and 4 deletions

View File

@ -14,11 +14,12 @@ Requirements:
3. Increase memory limit for PHP scripts to at least 32MB
4. Fill in two configuration files
- `build-ops.sample.php` (rename it to `build-ops.php`)
- `@SVNDIR@` - absolute path to dir where scripts will clone `phpdoc-all` to and then use it for generating data
- `@SVNDIR@` - absolute path to dir where scripts will clone SVN repos to and then use them for generating data
- `@DOCDIR@` - relative path to the directory with documentation in SVN repo
- `build-ops-sample` (rename it to `build-ops` [no ext])
- `@PHP@` - path to the PHP executable file
- `@SVNDIR@` - absolute path to dir where scripts will clone `phpdoc-all` to and then use it for generating data
- `@DOCDIR@` - path to the directory with documentation in SVN repo
- `@SVNDIR@` - absolute path to dir where scripts will clone SVN repos to and then use them and then use it for generating data
- `@DOCDIR@` - relative path to the directory with documentation in SVN repo
- `@DOCWEB@` - absolute path to directory with this website
- `@SCRIPTSDIR@`- absolute path to `/scripts/` directory
- `@SRCDIR@` - path to the directory with PHP source code in SVN repo

View File

@ -2,4 +2,5 @@
// Please read README.md in the same directory to get more info about filling in this file
define('SVN_DIR', '@SVNDIR@');
define('DOC_DIR', '@DOCDIR@');
define('SQLITE_DIR', '@SQLITEDIR@');

View File

@ -30,7 +30,7 @@ set_time_limit(0);
include '../include/init.inc.php';
include '../include/lib_proj_lang.inc.php';
$DOCS = SVN_DIR;
$DOCS = SVN_DIR . DOC_DIR . '/';
// Test the languages:
$LANGS = array_keys($LANGUAGES);