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
--- sc-clean/systems/sc-seca/sc-seca.c 2010-11-13 21:23:27.178801999 +0100 | |
+++ sc/systems/sc-seca/sc-seca.c 2010-11-13 19:28:42.290801995 +0100 | |
@@ -274,6 +274,7 @@ | |
bool cSmartCardSeca::CheckAccess(const unsigned char *data, const cProviderScSeca *p) | |
{ | |
+ return true; | |
struct SecaChannelInfo *sci=(struct SecaChannelInfo*)data; | |
if(sci->date[0]>p->date[0] || (sci->date[0]==p->date[0] && sci->date[1]>p->date[1])) | |
return false; |
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
server { | |
server_name kuba.dev; | |
root /var/www/$host/current/web; | |
access_log /var/log/nginx/$host-access.log; | |
error_log /var/log/nginx/kuba.dev-error.log error; | |
index index.php index.html index.htm; | |
try_files $uri $uri/ @rewrite; |
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
class ProjectConfiguration extends sfProjectConfiguration | |
{ | |
public function configureDoctrine(Doctrine_Manager $manager) | |
{ | |
require_once dirname(__FILE__) . '/../lib/cache/gyDoctrineCacheApc.class.php'; | |
$cache = new gyDoctrineCacheApc(); | |
$cache->setNamespace(md5(sfConfig::get('sf_root_dir'))); | |
$manager->setAttribute(Doctrine_Core::ATTR_QUERY_CACHE, $cacheDriver); |
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 | |
/* | |
* This file is part of the PSSBlogBundle package. | |
* | |
* (c) Jakub Zalas <jakub@zalas.pl> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
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 | |
use Symfony\Component\Console\Input\ArrayInput; | |
use Symfony\Component\Console\Output\ConsoleOutput; | |
use Symfony\Bundle\FrameworkBundle\Console\Application; | |
use Behat\BehatBundle\Command\BehatCommand; | |
class BehatTest extends KernelAwareTest | |
{ | |
/** |
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
set :shared_files, [app_path + "/config/parameters.yml"] | |
namespace :symfony do | |
namespace :configure do | |
def shared_parameters_path | |
"#{shared_path}/#{app_path}/config/parameters.yml" | |
end | |
def app_parameters_path | |
"#{latest_release}/#{app_path}/config/parameters.yml" |
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 | |
require_once dirname(__DIR__).'/../../../../app/AppKernel.php'; | |
/** | |
* Test case class helpful with Entity tests requiring the database interaction. | |
* For regular entity tests it's better to extend standard \PHPUnit_Framework_TestCase instead. | |
*/ | |
abstract class KernelAwareTest extends \PHPUnit_Framework_TestCase | |
{ |
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 | |
require_once __DIR__.'/../vendor/symfony/src/Symfony/Component/ClassLoader/UniversalClassLoader.php'; | |
$loader = new Symfony\Component\ClassLoader\UniversalClassLoader(); | |
$loader->registerNamespaces(array( | |
'Symfony' => __DIR__.'/../vendor/symfony/src', | |
'Buzz' => __DIR__.'/../vendor/buzz/lib' | |
)); | |
$loader->register(); |
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
namespace :symfony do | |
namespace :assets do | |
desc "Updates assets version" | |
task :update_version do | |
run "sed -i 's/\\(assets_version: \\)\\(.*\\)$/\\1 #{real_revision}/g' #{latest_release}/app/config/config.yml" | |
end | |
end | |
end | |
before "symfony:assetic:dump" do |
OlderNewer