From 7ad9f272a482802da2d43fe83841adbe9bcd8cb4 Mon Sep 17 00:00:00 2001 From: derchris Date: Sat, 2 Feb 2019 15:35:30 +0100 Subject: update less.php to PHP 7.x compatible fork --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 95dac53..23a15fd 100644 --- a/index.php +++ b/index.php @@ -11,7 +11,6 @@ require_once('lib/helper.php'); require_once('lib/PhpTemplate.php'); require_once('lib/Exceptions.php'); -require_once('lib/less.php/Less.php'); require_once('model/ModelBase.php'); require_once('model/Conferences.php'); @@ -28,6 +27,8 @@ require_once('model/Stream.php'); require_once('model/Relive.php'); require_once('model/Upcoming.php'); +require_once('lib/less.php/Autoloader.php'); +Less_Autoloader::register(); ob_start(); if(isset($argv) && isset($argv[1])) -- cgit v1.2.3