From 6add1cee2a17def7e3cbe5130b323268e238ec44 Mon Sep 17 00:00:00 2001 From: Nico Habets Date: Tue, 4 Jun 2013 13:21:17 +0200 Subject: [PATCH] Fix for INPUT NOT FOUND Somehow changing this line fixed a INPUT NOT FOUND bug on PHP Version 5.3.23 --- scss.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scss.inc.php b/scss.inc.php index 48ab800a..e51bb3ba 100644 --- a/scss.inc.php +++ b/scss.inc.php @@ -4214,7 +4214,8 @@ protected function inputName() { * @return string */ protected function findInput() { - if ($input = $this->inputName() + $input = $this->inputName(); + if ($input && strpos($input, '..') === false && substr($input, -5) === '.scss' ) {