Page Menu
Home
Wolfplex
Search
Configure Global Search
Log In
Files
F408446
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
567 B
Subscribers
None
View Options
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
Details
Attached
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)
Attached To
rAPI Wolfplex API
Event Timeline
Log In to Comment