Skip to content

Use revcheck information generated by doc-base/scripts/translation/genrevdb.php #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions build-ops.php.sample

This file was deleted.

10 changes: 0 additions & 10 deletions build-ops.sample

This file was deleted.

27 changes: 11 additions & 16 deletions include/init.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,19 @@
*/

// get paths
$build_ops = dirname(realpath(__FILE__)) . '/../build-ops.php';
if (file_exists($build_ops)) {
require_once($build_ops);
} else {
$GIT_DIR = getenv('PHPDOC_GIT_DIR');
if ($GIT_DIR == '') {
die("Unable to find Git repositories, set `PHPDOC_GIT_DIR` environment variable!");
}
$GIT_DIR .= (substr($GIT_DIR, -1) == '/' ? '' : '/');
define('GIT_DIR', $GIT_DIR);
$GIT_DIR = getenv('PHPDOC_GIT_DIR');
if ($GIT_DIR == '') {
die("Unable to find Git repositories, set `PHPDOC_GIT_DIR` environment variable!");
}
$GIT_DIR .= (substr($GIT_DIR, -1) == '/' ? '' : '/');
define('GIT_DIR', $GIT_DIR);

$SQLITE_DIR = getenv('SQLITE_DIR');
if ($SQLITE_DIR == '') {
die("Don't know where to place SQLite database, set `SQLITE_DIR` enviromment variable!");
}
$SQLITE_DIR .= (substr($SQLITE_DIR, -1) == '/' ? '' : '/');
define('SQLITE_DIR', $SQLITE_DIR);
$SQLITE_DIR = getenv('SQLITE_DIR');
if ($SQLITE_DIR == '') {
die("Don't know where to find SQLite database, set `SQLITE_DIR` enviromment variable!");
}
$SQLITE_DIR .= (substr($SQLITE_DIR, -1) == '/' ? '' : '/');
define('SQLITE_DIR', $SQLITE_DIR);

// Cache is considered stale after (seconds):
define('CACHE_BUGS_COUNT', 300); // 300 = 5mins
Expand Down
Loading