Skip to content

Commit 60f80f1

Browse files
committed
Adding support for SCSS and SASS files to fTemplating
1 parent 2574fa9 commit 60f80f1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

fTemplating.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,9 @@ protected function verifyValue($element, $value, $file_type=NULL)
14871487
$extension_map = array(
14881488
'inc' => 'php',
14891489
'php5' => 'php',
1490-
'xml' => 'rss'
1490+
'xml' => 'rss',
1491+
'sass' => 'css',
1492+
'scss' => 'css'
14911493
);
14921494

14931495
if (isset($extension_map[$extension])) {
@@ -1529,4 +1531,4 @@ protected function verifyValue($element, $value, $file_type=NULL)
15291531
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15301532
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
15311533
* THE SOFTWARE.
1532-
*/
1534+
*/

0 commit comments

Comments
 (0)