Created
February 3, 2009 04:41
-
-
Save shadowhand/57312 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Manual hunk edit mode -- see bottom for a quick guide | |
@@ -17,6 +17,15 @@ | |
const VERSION = '3.0'; | |
const CODENAME = 'renaissance'; | |
- // Save the cache on shutdown? | |
+ // The header that is used for file security. This is added to all | |
+ // generated PHP files to prevent direct inclusion from scripts run | |
+ // outside of Kohana. | |
+ const FILE_HEADER = "<?php defined('SYSPATH') or die('No direct access');\n\n"; | |
+ | |
+ /** | |
+ * Save the cache on shutdown? | |
+ * | |
+ * @var boolean | |
+ */ | |
public static $save_cache = FALSE; | |
# --- | |
# To remove '-' lines, make them ' ' lines (context). | |
# To remove '+' lines, delete them. | |
# Lines starting with # will be removed. | |
# | |
# If the patch applies cleanly, the edited hunk will immediately be | |
# marked for staging. If it does not apply cleanly, you will be given | |
# an opportunity to edit again. If all lines of the hunk are removed, | |
# then the edit is aborted and the hunk is left unchanged. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment