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 | |
// ---------------------- | |
// a-blog cms バックアップ | |
// update 2022/03/04 | |
// ---------------------- | |
# 指定すると DOMAIN_YYYYMMDDHHMMSS.zip で | |
# sql , archives , archives_rev , storage , media , themes , config.system.yaml | |
# を圧縮してバックアップします。 |
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 | |
// ---------------------- | |
// a-blog cms | |
// update 2022/03/15 | |
// ---------------------- | |
// ------------------- | |
// 2) パスワードチェック | |
// ------------------- |
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
@include("/include/field-parts/template/img.html", {"field":"hoge"}) | |
<input type="hidden" name="field[]" value="hoge"> | |
<input type="hidden" name="hoge:extension" value="image"> | |
<input type="hidden" name="hoge@size" value="1400"> | |
<input type="hidden" name="hoge@filename" value=""> |
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
// _decimal.scss | MIT License | gist.github.com/terkel/4373420 | |
// Round a number to specified digits. | |
// | |
// @param {Number} $number A number to round | |
// @param {Number} [$digits:0] Digits to output | |
// @param {String} [$mode:round] (round|ceil|floor) How to round a number | |
// @return {Number} A rounded number | |
// @example | |
// decimal-round(0.333) => 0 |