Files
html/api/ambre-ethica-test.php

13 lines
666 B
PHP

<?php
header("Content-Type: text/plain");
echo "=== ecm status ===\n";
echo @shell_exec("python3 /opt/weval-l99/ecm.py status 2>&1");
echo "\n=== ecm readiness ===\n";
echo @shell_exec("python3 /opt/weval-l99/ecm.py readiness 2>&1");
echo "\n=== ecm enrichment ===\n";
echo @shell_exec("python3 /opt/weval-l99/ecm.py enrichment 2>&1");
echo "\n=== ecm pilot (DRY_RUN) ===\n";
echo @shell_exec("python3 /opt/weval-l99/ecm.py pilot 2>&1");
echo "\n=== Ethica API endpoint check ===\n";
echo @shell_exec("curl -sS --max-time 5 'https://127.0.0.1/api/ethica-api.php?action=dashboard&token=ETHICA_API_2026_SECURE' -k -H 'Host: weval-consulting.com' 2>&1 | head -c 500");