untracked files on master: 086ba968 Einige Tickes, kleine Anpassungen, bis 08-2023
This commit is contained in:
commit
0122185119
14 changed files with 1548 additions and 0 deletions
31
web/clear_cache_dev.php
Normal file
31
web/clear_cache_dev.php
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Update</title>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<pre><code>
|
||||
<?php
|
||||
|
||||
function cmd($cmd)
|
||||
{
|
||||
$cmd .= ' 2>&1';
|
||||
$printCmd = preg_replace('/(--password\s*)([^\s]+)(\s|$)/i', '$1****$3', $cmd);
|
||||
echo "<b>". $printCmd ."</b>\n\n";
|
||||
echo shell_exec($cmd);
|
||||
echo "\n\n";
|
||||
}
|
||||
|
||||
chdir(dirname(__FILE__).'/..');
|
||||
//cmd('cp composer.lock composer.lock~');
|
||||
//cmd('svn update --username redmine --password 89QQvQtf');
|
||||
//cmd('cmp --silent composer.lock composer.lock~ || php composer.phar install');
|
||||
//cmd( 'rm composer.lock~');
|
||||
cmd('/Applications/MAMP/bin/php/php7.2.34/bin/php bin/console cache:clear');
|
||||
//cmd('php bin/console assetic:dump --env=prod --no-debug');
|
||||
|
||||
?>
|
||||
</code></pre>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue