Age | Commit message (Collapse) | Author | Files | Lines |
|
We only used to check (and not always) if the return value of fwrite() is boolean FALSE,
while it is possible that the otherwise returned bytecount is less than the length of
data that we're trying to write. This allowed incomplete writes over network streams
and possibly a few other edge cases.
|
|
! fwrite() could trigger false-positives as it is possible for it to return 0
instead of boolean FALSE. (issue #2822)
Also removed an unnecessary log level check that caused an extra space to be inserted
for the INFO level. (proposed in PR #2821)
|
|
|
|
|
|
|
|
This parameter cannot be optional, as the following parameter is mandatory.
Also completed the corresponding documentation.
|
|
|
|
This reverts commit bbc6ab4736a896be83e3e3d5f8856374ffa2984c.
|
|
Added a space after the comma on the ltrim().
|
|
Don't print no script access code into log file if log file is not .php anymore.
|
|
Added ltrim() as requested to strip '.' incase it's added by mistake.
|
|
whatever is preferred. example (.log)
This is a follow up to this pull request.
https://github.com/EllisLab/CodeIgniter/pull/2243
|
|
Updated Log.php so that a developer can extend it and change the log file extension.
It makes sense to default to .php when logs are in the public web folder. It would be nice if a developer moves the log file path we have the option to use a standard extension like .log
|
|
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
|
|
|
|
|
|
|
|
It is a core class after all, I guess somebody forgot it when the rest of them were moved.
|