list of special blocks is now dynamic via ajax

This commit is contained in:
2019-03-03 17:59:01 +01:00
parent 61930c1277
commit a4f572f962
6 changed files with 248 additions and 402 deletions

View File

@@ -0,0 +1,25 @@
<?php
// ---
// --- La config globale
// ---
chdir('/opt/TOPISTO/apps');
require_once '/opt/TOPISTO/apps/global/inc/config.php';
// ---
// --- External dependances
// ---
require TOPISTO_PATH.'/ressources/vendor/autoload.php';
// ---
// --- Internal dependances
// ---
require_once APP_PATH.'/blockchain/inc/block.php';
header('Content-Type: application/json');
echo blockchain::getSpecialBlocksJSON();
die();
?>