Skip to content

if(include_once()) {} or similar scrambled by File Compiler #1210

Open
@tomfrit

Description

@tomfrit

I am trying to include getid3 in my project but every
if(require_once()) or if(include_once()) is turned upside down by File Compiler:
if(!include_once(GETID3_INCLUDEPATH.'getid3.lib.php')) {
is turned into
if(! include_once(\ProcessWire\wire('files')->compile(GETID3_INCLUDEPATH.'getid3.lib.php')) {,array('includes'=>true,'namespace'=>true,'modules'=>true,'skipIfNamespace'=>true))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions