Skip to content

Instantly share code, notes, and snippets.

@mavisland
Created March 6, 2014 05:18
Show Gist options
  • Save mavisland/9383037 to your computer and use it in GitHub Desktop.
Save mavisland/9383037 to your computer and use it in GitHub Desktop.
Prevent users from being able to edit or update sensitive files via the admin.
<?php
define('DISALLOW_FILE_EDIT',true); //edits
define('DISALLOW_FILE_MODS',true); //updates
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment