Skip to content

Allow hosted content to be executable for the links page #5782

@gadzet21

Description

@gadzet21

Hi,
Changing the include_once function to file_get_contents resulted in the php code not being processed.
This change occurred in the commit below - in Cacti version 1.2.26 (same in version 1.2.27)
a2af4f8

A simple example on the php-example.html file in the /include/content directory
Instead of parsing the php code, it shows it as a comment:
image

Debian 9 and 12, Apache 2.4, PHP 7.0 and 8.2

Regards,
Jacek

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourconfirmedBug is confirm by dev teamresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions