Skip to content

Instantly share code, notes, and snippets.

View lenybernard's full-sized avatar
🇨🇵

Leny BERNARD lenybernard

🇨🇵
View GitHub Profile
#!/usr/bin/env php
<?php
// if you don't want to setup permissions the proper way, just uncomment the following PHP line
// read http://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information
//umask(0000);
set_time_limit(0);
require_once __DIR__.'/../../bootstrap.php';
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
/**
* @return array
*/
fos_user_security:
resource: "@FOSUserBundle/Resources/config/routing/security.xml"
fos_js_routing:
resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml"
VictoireCoreBundle:
resource: .
type: victoire_i18n
parameters:
victoire_core.watch_view_cache: true
imports:
- { resource: @VictoireCoreBundle/Resources/config/config.yml }
- { resource: @VictoireTwigBundle/Resources/config/config.yml }
monolog:
handlers:
main:
DocumentRoot "/Users/YOU/Workspace/"
NameVirtualHost *:80
<Directory "/Users/YOU/Workspace/">
Options Indexes MultiViews FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<VirtualHost *:80>
UseCanonicalName Off
<Directory />
AllowOverride none
Require all denied
</Directory>
<Directory />
AllowOverride All
Require all granted
</Directory>
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
function sf {
([ -f app/console ] && ./app/console "$@"|| [ -f bin/console ] && ./bin/console "$@" || ./Tests/Functionnal/bin/console "$@") && say "OK" && terminal-notifier -message "Task done : $@"
}
alias assets="[ -d "web" ] && sf assets:install web --symlink --relative || [ -d "Tests/Functionnal/web" ] && sf assets:install Tests/Functionnal/web --symlink --relative"
Warning: Invalid argument supplied for foreach() in /var/atlassian/bamboo_home/xml-data/build-dir/QVITALY-QVIDEV-JOB1/app/code/core/Mage/Catalog/Block/Layer/State.php on line 101
#0 /var/atlassian/bamboo_home/xml-data/build-dir/QVITALY-QVIDEV-JOB1/app/code/core/Mage/Catalog/Block/Layer/State.php(101): mageCoreErrorHandler(2, 'Invalid argumen...', '/var/atlassian/...', 101, Array)
#1 /var/atlassian/bamboo_home/xml-data/build-dir/QVITALY-QVIDEV-JOB1/app/design/frontend/quovadis/default/template/catalog/layer/state.phtml(37): Mage_Catalog_Block_Layer_State->getRecommandedFilters()
#2 /var/atlassian/bamboo_home/xml-data/build-dir/QVITALY-QVIDEV-JOB1/app/code/core/Mage/Core/Block/Template.php(241): include('/var/atlassian/...')
#3 /var/atlassian/bamboo_home/xml-data/build-dir/QVITALY-QVIDEV-JOB1/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/quovad...')