Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Regarding log
  • Dear sir,

    I have a question regarding log.

    I found following log starting at first line.

    ----------------------------------------------------
    <?php defined('COREPATH') or exit('No direct script access allowed'); ?>
    ----------------------------------------------------

    Do you know why I am getting above log?

    This is not big issue for me, but, I am just wondering.

    Best regards,
  • HarroHarro
    Accepted Answer
    Log files are generated as PHP files.

    This line is there to prevent direct access to your logfiles and expose potential internal information in case you have installed FuelPHP inside the docroot, and have not properly secured the log directory.
  • Dear Harro,

    I got it.

     Thank you very much for your reply.

    Best regards,
    Masao

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion