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 timezone. | |
## Find your time zone here http://php.net/manual/en/timezones.php | |
date.timezone = Asia/Kolkata | |
## Maximum Execution Time. | |
max_execution_time = 18000 | |
## Maximum Input Time. | |
max_input_time = 6000 |
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 { | |
listen 80; | |
server_name example.come; | |
root /var/www/example.com; | |
location / { | |
index index.html index.php; | |
try_files $uri $uri/ @handler; | |
expires 30d; |
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
/.buildpath | |
/.cache | |
/.metadata | |
/.project | |
/.settings | |
atlassian* | |
/nbproject | |
/sitemap | |
/.idea | |
/.gitattributes |
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 { | |
# Listen ports | |
listen 80; | |
listen [::]:80; | |
# Make site accessible from http://grav.dev/ | |
server_name grav.dev www.grav.dev; | |
root /var/www/grav.dev; | |
index index.html index.htm index.php; |
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 | |
/** | |
* Config for PHP-CS-Fixer ver2 | |
*/ | |
$rules = array( | |
'@PSR2' => false, | |
// addtional rules |
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 | |
/** | |
* Config for PHP-CS-Fixer ver2 | |
*/ | |
$rules = [ | |
'@PSR2' => true, | |
// addtional rules |
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
// Spacers for margin & padding | |
$spacer: 1rem; | |
$spacers: (); | |
$spacers: map-merge(( | |
0: 0, | |
px: 1px, | |
1: ($spacer * .25), | |
2: ($spacer * .5), | |
3: ($spacer * .75), | |
4: $spacer, |
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 | |
/** | |
* Widget Name: Company WidgetName Widget | |
* Description: A sample widget. | |
*/ | |
class Company_WidgetName_Widget extends WP_Widget { | |
/** | |
* Register widget with WordPress. | |
*/ |
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
upstream fastcgi_backend { | |
server unix:/var/run/php5-fpm.sock; | |
} | |
server { | |
listen 80; | |
## Ex. yourdomain.com | |
server_name mage.dev; | |
## Define project root | |
set $MAGE_ROOT /var/www/magento2; |
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> | |
DocumentRoot /var/www/magento2 | |
ServerName mage.dev | |
ServerAlias mage.dev | |
<Directory /var/www/magento2> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
</Directory> | |
</VirtualHost> |
OlderNewer