I hereby claim:
- I am Aurielle on github.
- I am aurielle (https://keybase.io/aurielle) on keybase.
- I have a public key whose fingerprint is A0A6 28C6 2009 9A15 A33F B4FF 121D A628 E6DA C7F7
To claim this, I am signing this object:
<?php | |
namespace PHPin\Tools; | |
use Nette; | |
use Nette\Reflection\ClassReflection; | |
/** |
<?php | |
/** | |
* PHP-in' CMS Framework | |
* | |
* Copyright (c) 2010 Vaclav Vrbka (http://www.php-info.cz) | |
* | |
* This source file is subject to the "PHP-in' CMS Framework licence". | |
* For more information please see http://www.phpin.eu | |
*/ |
<?php | |
/* | |
* Předpokládá ACL následujícího tvaru: | |
* resource: Jméno presenteru / komponenty (PHP, včetně namespace) | |
* privilege: Jméno akce / signálu | |
*/ | |
public function userAllowed($component, $destination = NULL) | |
{ | |
if($destination === NULL) // No destination specified, can cause unexpected results when used with n:if-allowed as it would check for previous link! |
<?php | |
/** | |
* Avalon CMS | |
* | |
* Copyright (c) 2010 Vaclav Vrbka (http://www.php-info.cz) | |
*/ | |
namespace Avalon\Application; | |
use Avalon, Nette; |
<?php | |
public function link($destination, $args = array()) | |
{ | |
if(!is_array($args)) { | |
$args = func_get_args(); | |
array_shift($args); | |
} | |
$a = strpos($destination, '#'); |
<?php | |
// ------- Load Avalon ------- | |
require(LIBS_DIR . '/Avalon/loader.php'); | |
// ------- Basic configuration ------- | |
// * $environment, $debuggerMode, $debuggerEmail and $params | |
// * are all initialized automatically. Do NOT overwrite $params, just add | |
// * new values: $params += array('key' => 'value'); | |
// |
<?php | |
$catFilterIn = function($slug, $params, $origParams) use($site) { | |
if(!isset($site->languages[$params['lang']])) | |
return NULL; | |
$lang = $site->languages[$params['lang']]; | |
$temp = explode('/', trim($slug, '/')); | |
$path = array(); | |
$slugs = array(); |
RewriteEngine On | |
# RewriteBase / | |
# non-www to www xxxxx.cz => www.xxxxx.cz | |
RewriteCond %{HTTP_HOST} ^([^\.]+\.[^\.]+)$ [NC] | |
RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L] |
I hereby claim:
To claim this, I am signing this object:
Either compile the extension by yourself using these instructions. Applicable for whatever PHP version you're using.
Alternatively, prebuilt binaries are available for PHP 5.3/5.4 or PHP 5.5. Always download x86 version of the extensions (unless you're using 64bit PHP) and verify that Zend Extension Build and PHP Extension Build correspond to the version you're downloading.
Newer binaries are here: http://windows.php.net/downloads/pecl/snaps/redis/2.2.5/
After you've aquired the two DLLs, put them inside ext
folder in your PHP installation and modify php.ini, adding the following:
; php-redis