Skip to content

Commit 4a77889

Browse files
committed
Refs leafo#224 - add PHP version check
1 parent 7ac3350 commit 4a77889

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scss.inc.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<?php
2+
if (version_compare(PHP_VERSION, '5.3') < 0) {
3+
die('Requires PHP 5.3 or above');
4+
}
5+
26
if ( ! class_exists('scssc')) {
37
include_once __DIR__ . '/src/Colors.php';
48
include_once __DIR__ . '/src/Compiler.php';

0 commit comments

Comments
 (0)