Enabled search, added lodash and other minor improvements

This commit is contained in:
Deon George
2013-05-08 19:42:55 +10:00
parent e3c93e1d38
commit 42059cb0e5
8 changed files with 108 additions and 56 deletions

View File

@@ -29,5 +29,14 @@ abstract class lnApp_Meta {
$this->_data[$key] = $value;
}
public function secure() {
static $secure = NULL;
if (! $secure)
$secure = Request::current()->secure() ? 'https://' : 'http://';
return $secure;
}
}
?>