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
server { | |
listen 80; | |
server_name example.com; | |
# server_name _; # if no server name | |
root /usr/share/nginx/www/example.com/public; | |
index index.php index.html index.htm; | |
# rewrite to Phalcon bootstrap | |
try_files $uri $uri/ @rewrite; |
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
<script> | |
export default { | |
bind: function (el, argopts) { | |
el.addEventListener('click', function (event) { | |
ripple(event, el, argopts) | |
}) | |
function ripple (e, argopts) { | |
let opts = Object.assign({ele: e.target, type: 'hit', bgc: 'rgba(0, 0, 0, 0.15)'}, argopts) | |
let target = opts.ele | |
if (target) { |
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
SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY','')) |