Page MenuHomeWolfplex

No OneTemporary

diff --git a/_includes/core.php b/_includes/core.php
index d6b8adc..f74f39f 100644
--- a/_includes/core.php
+++ b/_includes/core.php
@@ -1,9 +1,13 @@
<?php
// Composer deps
-require '../vendor/autoload.php';
+define('AUTOLOAD', '../vendor/autoload.php');
+if (!file_exists(AUTOLOAD)) {
+ die("Please install Composer if needed, then run 'make' or directly 'composer install'.");
+}
+require AUTOLOAD;
// log4php configuration
if (isset($_SERVER['LOGGER_CONFIG']) && file_exists($_SERVER['LOGGER_CONFIG'])) {
Logger::configure($_SERVER['LOGGER_CONFIG']);
}

File Metadata

Mime Type
text/x-diff
Expires
Mon, Jun 9, 1:12 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
46390
Default Alt Text
(567 B)

Event Timeline