文件操作 - GetAssetsPathTrait.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/smart-slider-3/Nextend/Framework/Pattern/GetAssetsPathTrait.php
编辑文件内容
<?php namespace Nextend\Framework\Pattern; use Nextend\Framework\Platform\Platform; use Nextend\Framework\Url\Url; trait GetAssetsPathTrait { use GetPathTrait; public static function getAssetsPath() { return Platform::filterAssetsPath(self::getPath() . '/Assets'); } public static function getAssetsUri() { return Url::pathToUri(self::getAssetsPath()); } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件