This file contains hidden or 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
apt-get install libapache2-mod-php5 php5-mysql php5-gd php5-mcrypt php5-curl php-apc | |
a2enmod rewrite | |
a2enmod ssl |
This file contains hidden or 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
# add to /etc/apt/sources.list | |
deb http://ftp.ca.debian.org/debian stable main contrib | |
deb http://ftp.debian.org/debian/ wheezy-updates main contrib | |
deb http://security.debian.org/ wheezy/updates main contrib |
This file contains hidden or 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 | |
// 1) Escaping on; View template | |
$manufacturers = $sf_user->getAttribute('manufacturer_ids', array(), 'mdUser'); | |
$user_manufacturers->getRawValue(); // returns an array() | |
// for variables in view template | |
echo $sf_data->getRaw('variable_name'); | |
// disable escaping from class method output |
NewerOlder