Skip to content

Instantly share code, notes, and snippets.

View biakaveron's full-sized avatar

Ivan Brotkin biakaveron

  • Russian Federation
View GitHub Profile
class Debug extends Kohana_Debug {
public static function vars()
{
if (func_num_args() === 0)
return;
$backtrace = debug_backtrace();
$path = $backtrace[0]['file'];
$filename = Debug::path($path);
@biakaveron
biakaveron / request.php
Created May 23, 2012 06:46
Old-style Request->uri() for Kohana v3.2
<?php defined('SYSPATH') or die('No direct script access.');
class Request extends Kohana_Request {
public function uri(array $params = null)
{
if ($params === NULL)
{
return parent::uri();
}
@biakaveron
biakaveron / cusel-fixed-min-2.5.js
Created November 6, 2012 06:59
Обновленная версия cuSel (скроллинг работает с jQuery 1.7+)
/* -------------------------------------
cusel version 2.5
last update: 31.10.11
смена обычного селект на стильный
autor: Evgen Ryzhkov
updates by:
- Alexey Choporov
- Roman Omelkovitch
using libs: