Skip to content

Use of undefined constant __DIR__ #224

@kprovance

Description

@kprovance

We're using your compiler - pulled the version from this git last week - and I have a client reporting back the following:

Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /**********/ReduxCore/inc/scssphp/scss.inc.php on line 3

This of course leads to other warnings about the failed opening of support files, etc, etc. Is there some condition in PHP that would cause DIR to fail? Does scssphp have a minimum PHP version requirement? I'm at a loss, short of using dirname(FILE) to fix it.

Thoughts?

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions