文件操作 - cssmin
返回文件管理
返回主菜单
删除本文件
文件: /home/tecnoht/public_html/lessi--it/wp-content/plugins/wp-optimize/vendor/bin/cssmin
编辑文件内容
#!/usr/bin/env php <?php use tubalmartin\CssMin\Command; $autoloadPath = null; $autoloadPaths = array( __DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php' ); foreach ($autoloadPaths as $file) { if (file_exists($file)) { $autoloadPath = $file; break; } } unset($file); unset($autoloadPaths); if (is_null($autoloadPath)) { fwrite( STDERR, 'You need to set up the project dependencies using Composer:' . PHP_EOL . PHP_EOL . ' composer install' . PHP_EOL . PHP_EOL . 'You can learn all about Composer on https://getcomposer.org/.' . PHP_EOL ); die(1); } require $autoloadPath; unset($autoloadPath); Command::main();
修改文件时间
将文件时间修改为当前时间的前一年
删除文件