Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require './SiteEditor.php';
- $USER_PASSWORD_HASH = '90866DEBD32998B8B45C98A51899772FBB0CF9AE6E1A04F8DA90907CCD3CCDB0A11322263347FEB63156D3E31B5733A705364046FDEA06631CD9D21141211732'; //hash of "{user}XX{password}" (without quotation) http://www.convertstring.com/Hash/SHA512
- $CONTENT_PATH = './content/'; //path to content directory (with ending slash)
- $editor = new SiteEditor($USER_PASSWORD_HASH, $CONTENT_PATH);
- try {
- $editor->handleRequest($_POST);
- } catch(Exception $e) {
- echo 'Some error occurred: ' . $e->getMessage();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement