我正在使用 docker 在 Symfony 3.4 应用程序中工作。问题是在我进入容器并做
php bin/console cache:clear
Run Code Online (Sandbox Code Playgroud)
我总是有这个缓存问题:
Unable to create the storage directory (/var/www/app/var/cache/dev/profiler).
Run Code Online (Sandbox Code Playgroud)
我知道我可以使用以下方法解决它:
chmod 777 -R var/cache/* var/logs/*
Run Code Online (Sandbox Code Playgroud)
但是我再次清除缓存后,问题依旧。有没有办法只添加一次权限,等我清除缓存后这个问题就解决了?
谢谢你。
我正在尝试将未选中的复选框的背景颜色设置为白色,但我找不到方法来做到这一点。当选中和未选中时,它都会保持蓝色。我尝试过:
input[type=checkbox]:not(:checked) {
background-color: white;
}
Run Code Online (Sandbox Code Playgroud)
并且:
input[type=checkbox]:after { (this one I don't think it's even valid)
background-color: white;
}
Run Code Online (Sandbox Code Playgroud)
我目前的代码是:
input[type=checkbox]:not(:checked) {
background-color: white;
}
Run Code Online (Sandbox Code Playgroud)
input[type=checkbox]:after { (this one I don't think it's even valid)
background-color: white;
}
Run Code Online (Sandbox Code Playgroud)
如果有人有任何想法,我将不胜感激。谢谢