diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2016-11-10 20:52:35 +0100 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2016-11-10 20:52:35 +0100 |
| commit | 696fcd7ce4d495e356667019493bf312e2a6e47b (patch) | |
| tree | 3e8d60dad08dbe31660f2532d8ce893d35d50130 /bin/setup.php | |
| parent | 9ff01ebe8cde0a07ad2a480d1a45eb1a29cb113d (diff) | |
| download | phinde-696fcd7ce4d495e356667019493bf312e2a6e47b.tar.gz phinde-696fcd7ce4d495e356667019493bf312e2a6e47b.zip | |
add log class
Diffstat (limited to 'bin/setup.php')
| -rwxr-xr-x | bin/setup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/setup.php b/bin/setup.php index 27c5c46..ba97493 100755 --- a/bin/setup.php +++ b/bin/setup.php @@ -9,7 +9,7 @@ require_once __DIR__ . '/../src/init.php'; $json = file_get_contents(__DIR__ . '/../data/elasticsearch-mapping.json'); if (json_decode($json) === null) { - echo "Error: Schema JSON is broken\n"; + Log::error("Error: Schema JSON is broken"); chdir(__DIR__ . '/../'); passthru('json_pp -t null < data/elasticsearch-mapping.json'); exit(1); |
