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 | |
class MaintenanceComponent extends Object | |
{ | |
public $components = array('RequestHandler'); | |
public $level = 0; | |
public $allowedCIDR = array(); | |
public $baseURL = null; | |
public $errorMethod = 'error404'; | |
public $errorParams = 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
(function($) { | |
$.fn.twitterTrackback = function(options){ | |
$.twitterTrackback.init(this, options); | |
$.twitterTrackback.update(1); | |
return this; | |
}; | |
$.twitterTrackback = { | |
$element: null, | |
options: { |
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 | |
App::import('Datasource', 'DboSource'); | |
App::import('Datasource', 'DboMysql'); | |
class DboMysqlLog extends DboMysql | |
{ | |
function execute($sql, $options = array()) { | |
$defaults = array('log' => ($this->fullDebug || Configure::read('Sql.log'))); | |
$options = array_merge($defaults, $options); |
NewerOlder