attogram/justrefs

View on GitHub
public/index.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * Just Refs - https://github.com/attogram/justrefs
 * Public Index Page
 */
$verbose = false;

$vendor = '..' . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
if (!is_readable($vendor)) {
    exit('Site down for maintenance');
}
require_once($vendor);

$jr = new \Attogram\Justrefs\JustRefs($verbose);
$jr->route();