- Kohana core - isolated autoloader/module loader/filesystem and cache (@zombor already started this iirc)
- Move Request::factory() into Request_Factory
- Database should support Mysqli
<?php | |
class MagicMethodFixture { | |
/** | |
* @var array | |
*/ | |
protected $configurations; | |
public function __construct() { | |
$this->configurations = array( |
object Model_User(16) { | |
protected _validation => NULL | |
protected _object => array(6) ( | |
"id" => string(1) "1" | |
"email" => string(23) "[email protected]" | |
"username" => string(4) "kemo" | |
"password" => string(64) "ab1bed09899950fe87a5d30495362b362398015b5d22d5e2ce4f781a7ef91bdd" | |
"logins" => string(2) "10" | |
"last_login" => string(10) "1388421310" | |
) |
(string) mukuru-card | |
echo ( ! $a == 'mukuru-card') -> | |
FALSE | |
echo ($a != 'mukuru-card') -> | |
FALSE | |
(string) | |
echo ( ! $a == 'mukuru-card') -> | |
TRUE | |
echo ($a != 'mukuru-card') -> |
diff --git a/system/core/Kohana.php b/system/core/Kohana.php | |
index 271f917..287c271 100644 | |
--- a/system/core/Kohana.php | |
+++ b/system/core/Kohana.php | |
@@ -722,7 +722,7 @@ final class Kohana { | |
if (ob_get_level() >= self::$buffer_level) | |
{ | |
// Set the close function | |
- $close = ($flush === TRUE) ? 'ob_end_flush' : 'ob_end_clean'; | |
+ $close = ($flush === TRUE) ? 'ob_end_flush' : 'Kohana::_ob_end_clean'; |
<?php defined('SYSPATH') or die('No direct script access.'); | |
class Security extends Kohana_Security { | |
protected static $_logout_token_name = 'logout_token_key'; | |
public static $csrf_field = 'token'; | |
/** | |
* Creates a validation object to check if the field specified |
<?php defined('SYSPATH') or die('No direct script access.'); | |
/** | |
* Extend this class if you want your model cached. Example usage: | |
* | |
* 1. Model | |
* class Model_User extends ORM_Cached {} | |
* | |
* 2. Usage | |
* |
## | |
## ca-bundle.crt -- Bundle of CA Root Certificates | |
## | |
## Certificate data from Mozilla as of: Sun Feb 19 04:03:37 2012 | |
## | |
## This is a bundle of X.509 certificates of public Certificate Authorities | |
## (CA). These were automatically extracted from Mozilla's root certificates | |
## file (certdata.txt). This file can be found in the mozilla source tree: | |
## http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1 | |
## |
<?php defined('SYSPATH') or die('No direct script access.'); | |
/** | |
* Google (unofficial) Weather API Helper | |
* | |
* @author Kemal Delalic <[email protected]> | |
*/ | |
class Weather { | |
protected static $_days = array( | |
'Mon' => 'Monday', |
// Just save the JS below as a bookmark and click it while on the page you wish to inspect | |
javascript:(function(){var script=document.createElement('script');script.type='text/javascript';script.src='http://javascriptrocks.com/tools/dommonster.js?'+(new Date().getTime());document.getElementsByTagName('body')[0].appendChild(script);})() |