Skip to content

Instantly share code, notes, and snippets.

@edthix
Created March 1, 2010 10:18
Show Gist options
  • Save edthix/318258 to your computer and use it in GitHub Desktop.
Save edthix/318258 to your computer and use it in GitHub Desktop.
<?php
// ckfinder/config.php
session_name("CAKEPHP");
session_start();
function CheckAuthentication()
{
if(isset($_SESSION['Auth']['User'])){
return true;
}
return false;
}
?>
<?php
// cake_app/core.php
Configure::write('Security.level', 'low');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment