This file contains hidden or 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
<?php | |
/** | |
* CodeIgniter version 2 | |
* Note: Put this on your application/core folder | |
*/ | |
class MY_Security extends CI_Security { | |
/** |
This file contains hidden or 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
function squirelParty($numCigars=0){ | |
//check the day | |
//if day is Saturday or Sunday return true | |
//if day is weekdays | |
//check if the $numCigars is between 40 - 60 return true | |
//return false |
NewerOlder