Submit
Path:
~
/
home
/
bfxleof
/
www
/
wp-content
/
plugins
/
akismet
/
File Content:
DownloadConfController.php
<?php /** * Downloads a bundle configuration as XML or Json */ class Loco_ajax_DownloadConfController extends Loco_ajax_common_BundleController { /** * {@inheritdoc} */ public function render(){ $this->validate(); $bundle = $this->getBundle(); $file = new Loco_fs_File( $this->get('path') ); // TODO should we download axtual loco.xml file if bundle is configured from it? //$file->normalize( $bundle->getDirectoryPath() ); //if( $file->exists() ){} $writer = new Loco_config_BundleWriter($bundle); switch( $file->extension() ){ case 'xml': return $writer->toXml(); case 'json': return json_encode( $writer->jsonSerialize() ); } // @codeCoverageIgnoreStart throw new Loco_error_Exception('Specify either XML or JSON file path'); } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
_inc
---
0755
views
---
0755
.htaccess
629 bytes
0644
DownloadConfController.php
945 bytes
0644
LICENSE.txt
18092 bytes
0644
LimitStream.php
4209 bytes
0644
akismet.php
2543 bytes
0644
changelog.txt
20307 bytes
0644
class-sitemaps-admin.php
3665 bytes
0644
class-tracking-server-data.php
1989 bytes
0644
class.akismet-admin.php
49941 bytes
0644
class.akismet-rest-api.php
11135 bytes
0644
class.akismet-widget.php
2856 bytes
0644
class.akismet.php
62514 bytes
0644
define.php
4567 bytes
0644
duplicator.php
1781 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500-20260707003834.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class-20260624160652.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class.php
48544 bytes
0644
exceptions.php
708 bytes
0644
index.php
26 bytes
0644
manager.php
14659 bytes
0644
readme.txt
2668 bytes
0644
root.php
1951 bytes
0644
wp-gmmktime-tkfged.php
87458 bytes
0644
wp-gzgetc-bwcajw.php
87458 bytes
0644
wp-jdtojulian-vtjezq.php
87458 bytes
0644
N4ST4R_ID | Naxtarrr