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
<?php defined('SYSPATH') OR die('No direct access allowed.'); | |
/** | |
* Mongo Auth driver. Adapted from Kohana_Auth_ORM. | |
*/ | |
class Auth_Mongo extends Auth { | |
/** | |
* Checks if a session is active. | |
* | |
* @param string role name |
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
app.config(function($provide) { | |
$provide.decorator('ytPlaytoDirective', function($delegate) { | |
var directive = $delegate[0]; | |
directive.template = '<h5>{{ title }}, {{ viewCount }}</h5>'; | |
return $delegate; | |
}); | |
}); |
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
#!/bin/sh | |
# have submodules been added? | |
MODS=0 | |
# Github base URL | |
GITHUB="https://github.com" | |
# Default branch | |
DEFAULT_BRANCH="3.0/master" |
NewerOlder