Bug Report #4359
FILE_SECURITY should use "OR" instead of "or"
|Assignee:||Woody Gilk||% Done:|
FILE_SECURITY const (class Kohana_Core) should follow Kohana's conventions and coding style.
const FILE_SECURITY = '<?php defined(\'SYSPATH\') OR die(\'No direct script access.\');';
const FILE_SECURITY = '<?php defined(\'SYSPATH\') or die(\'No direct script access.\');';
#4 Updated by Kemal Delalic about 2 years ago
As Dmitry pointed out, those are constants and they should be written all-caps anyways.
We don't write `foreach`, `echo` and other language constructs uppercase, so why would we be screaming AND or OR? This is pretty much the only annoying thing about Kohanas' conventions :)