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
// lib/model/doctrine/JobeetCategoryTable.class.php | |
class JobeetCategoryTable extends Doctrine_Table | |
{ | |
public function getWithJobs() | |
{ | |
$q = $this->createQuery('c') | |
->leftJoin('c.JobeetJobs j') | |
->where('j.expires_at > ?', date('Y-m-d H:i:s', time())); | |
return $q->execute(); |
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
[global] | |
;Path to logfile | |
logfile=/var/log/suphp/suphp.log | |
;Loglevel | |
loglevel=info | |
;User Apache is running as | |
webserver_user=www-data |
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
<VirtualHost *:80> | |
ServerName ward.local | |
DocumentRoot /home/cordoval/Dropbox/ward | |
DirectoryIndex index.php | |
<Directory /home/cordoval/Dropbox/ward/> | |
AllowOverride All | |
allow from all | |
</Directory> | |
</VirtualHost> |
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
# | |
# Based upon the NCSA server configuration files originally by Rob McCool. | |
# | |
# This is the main Apache server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See http://httpd.apache.org/docs/2.2/ for detailed information about | |
# the directives. | |
# | |
# 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 |
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
# | |
# Based upon the NCSA server configuration files originally by Rob McCool. | |
# | |
# This is the main Apache server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See http://httpd.apache.org/docs/2.2/ for detailed information about | |
# the directives. | |
# | |
# 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 |
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
<VirtualHost *:80> | |
ServerName ward.local | |
DocumentRoot /home/cordoval/Dropbox/ward | |
suPHP_Engine on | |
AddHandler x-httpd-php .php .php3 .php4 .php5 | |
suPHP_AddHandler x-httpd-php | |
DirectoryIndex index.php | |
<Directory /home/cordoval/Dropbox/ward/> | |
AllowOverride All |
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
# | |
# Based upon the NCSA server configuration files originally by Rob McCool. | |
# | |
# This is the main Apache server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See http://httpd.apache.org/docs/2.2/ for detailed information about | |
# the directives. | |
# | |
# 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 |
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
<VirtualHost *:80> | |
ServerName ward.local | |
DocumentRoot /home/cordoval/Dropbox/ward | |
DirectoryIndex index.php | |
<Directory /home/cordoval/Dropbox/ward/> | |
AllowOverride All | |
allow from all | |
</Directory> | |
</VirtualHost> |
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
rep: | |
pattern: /rep | |
defaults: { _controller: AwareSales:Rep:index } | |
sale_main: | |
pattern: /sale/ | |
defaults: { _controller: AwareSales:Sale:index } | |
sale_new: | |
pattern: /sale/new |
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
in my controller: | |
-------------------- | |
$form = SalesForm::create($this->get('form.context'), 'sale', array('em' => $em)); | |
in my SalesForm: | |
-------------------- | |
class SalesForm extends Form | |
{ |
OlderNewer