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 script access.'); | |
/** | |
* JSON helper class | |
* | |
* Examples: | |
* $j = JSON::decode('{"Organization": "Kohana"}'); // Good | |
* $j = JSON::decode("{'Organization': 'Kohana'}"); // Invalid | |
* $j = JSON::decode('{"Organization": "Kohana"}', NULL, 1); // depth stack exceeded | |
* | |
* @package Kohana |
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.'); | |
/** | |
* AJAX Helper | |
* | |
* @author Sergei Gladkovskiy <smgladkovskiy@gmail.com> | |
* @author Luke Morton | |
*/ | |
class AJAX { | |
/** |
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 script access.'); | |
// -- Environment setup -------------------------------------------------------- | |
// Load the core Kohana class | |
require SYSPATH.'classes/kohana/core'.EXT; | |
if (is_file(APPPATH.'classes/kohana'.EXT)) | |
{ | |
// Application extends the core |
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
<?xml version='1.0' encoding='utf-8'?> | |
<root ><status ><![CDATA[FAIL]]></status> | |
<message ><errors ><error ><![CDATA[[error_insert_user]Error al tratar de crear el usuario]]></error> | |
</errors> | |
</message> | |
</root> |
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
Array | |
( | |
[algorithm] => HMAC-SHA256 | |
[issued_at] => 1329245315 | |
[profile_id] => 183881448297360 | |
[user] => Array | |
( | |
[country] => ar | |
[locale] => es_LA | |
[age] => Array |
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
mysql> USE tacobell_site; | |
Database changed | |
mysql> SHOW TABLES; | |
ERROR 1018 (HY000): Can't read dir of './tacobell_site/' (errno: 13) | |
mysql> SELECT * FROM c4GDF__users; | |
ERROR 1036 (HY000): Table 'c4GDF__users' is read only | |
mysql> |
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
#showtooltip Habilidad | |
/cast Habilidad | |
/rw OBJECTIVO texto que quieras | |
ORBETIVO puede ser: | |
%t: pone el nombre del target | |
%f: pone el nombre del foco |
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 | |
/** | |
* Normalizes URL according to RFC 3986 to use it in comparison operations. | |
* The function gets URL argument by reference and modifies it. | |
* | |
* It returns the normalized URL on success and FALSE of failure. | |
* | |
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | |
* @license http://framework.zend.com/license/new-bsd New BSD License | |
* @package Zend_OpenId |
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 script access.'); | |
class Controller_Standalone_Signup_Example extends Controller_Standalone_Signup_v5 { | |
/** | |
* Sets the session to use in this app | |
* | |
* @var string | |
* @access public | |
*/ |
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 script access.'); | |
/** | |
* Settings related to the Kohana 3 MAXMIND GeoIP module. | |
* | |
* @package Kohana GeoIP 3 | |
*/ | |
return array( | |
// Database location | |
'database' => MODPATH . 'geoip/database/GeoIP-106_20111129.dat', |