文件操作 - Routes.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/give/src/ServiceProviders/Routes.php
编辑文件内容
<?php namespace Give\ServiceProviders; use Give\Route\PayPalWebhooks; use Give\Route\Route; /** * Class Routes * * This loads the application routes. For now it's very simple, but in the future * we will introduce a unified Router. In the meantime, all routes are organized * here. */ class Routes implements ServiceProvider { private $routes = [ PayPalWebhooks::class, ]; /** * @inheritDoc */ public function register() { } /** * @inheritDoc */ public function boot() { foreach ($this->routes as $route) { /** @var Route $route */ $route = new $route(); $route->init(); } } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件