Commit 33f28af4 authored by Guinness's avatar Guinness

Merge branch 'pi-billion-file' into 'preprod'

Add a submodule for pi-billion

See merge request !15
parents 0cbb27fc c2d13c2b
Pipeline #2040 passed with stages
in 1 minute and 7 seconds
......@@ -9,6 +9,7 @@ stages:
job test:
stage: test
variables:
GIT_SUBMODULE_STRATEGY: normal
SQL_HOST: "localhost"
SQL_PORT: "3306"
SQL_DATABASE: "test_$CI_BUILD_REF"
......
[submodule "www/static/pi-billion"]
path = www/static/pi-billion
url = https://git.laquadrature.net/lqdn-interne/pi-billion.git
......@@ -79,7 +79,8 @@ class Cron extends Controller
$template = file_get_contents(dirname(__FILE__)."/../../locales/".$pdf['lang']."/LC_MESSAGES/plome.tex");
// We will open the pi-decimals file
$pi = fopen(dirname(__FILE__)."/../../www/static/pi-billion.txt", "rb");
$pi = fopen(dirname(__FILE__)."/../../www/static/pi-billion/pi-billion.txt", "rb");
if (!$pi) {
$logger->write("FATAL: Can't open decimals");
exit();
......
Subproject commit 46d737de930450b8703d331f5c122335599d4d39
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment