Verified Commit a5769117 authored by Guinness's avatar Guinness

Add a submodule for pi-billion

Instead of having it directly in the repo, which makes it uselessly
parent 49fbbb65
...@@ -9,6 +9,7 @@ stages: ...@@ -9,6 +9,7 @@ stages:
job test: job test:
stage: test stage: test
variables: variables:
SQL_HOST: "localhost" SQL_HOST: "localhost"
SQL_PORT: "3306" SQL_PORT: "3306"
[submodule "www/static/pi-billion"]
path = www/static/pi-billion
url =
...@@ -79,7 +79,7 @@ class Cron extends Controller ...@@ -79,7 +79,7 @@ class Cron extends Controller
$template = file_get_contents(dirname(__FILE__)."/../locales/".$pdf['lang']."/LC_MESSAGES/plome.tex"); $template = file_get_contents(dirname(__FILE__)."/../locales/".$pdf['lang']."/LC_MESSAGES/plome.tex");
// We will open the pi-decimals file // We will open the pi-decimals file
$pi = fopen(dirname(__FILE__)."/../static/pi-billion.txt", "rb"); $pi = fopen(dirname(__FILE__)."/../static/pi-billion/pi-billion.txt", "rb");
if (!$pi) { if (!$pi) {
$logger->write("FATAL: Can't open decimals"); $logger->write("FATAL: Can't open decimals");
exit(); 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