Version 3.2.3

This commit is contained in:
Neo committed 2025-12-19 00:34:03 -08:00
1 parent ae5c01cc78
commit 78706903a2
2641 files changed
+228363 -201264

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ var MUB = {
,newLi : function () {
return '<li id="li' + MUB._uid + '">http://' + location.host + '/<input type=text size=20>'
+ ' <button title="Remove">x</button> <button title="Include Earlier">&uarr;</button>'
+ ' <button title="Include Later">&darr;</button> <span></span></li>';
+ ' <button title="Include Later">&darr;</button> <span></span></li>';/*noLibHook*/
}
/**
* Add new empty source LI and attach handlers to buttons
+2 -2
View File
@@ -8,7 +8,7 @@ if (phpversion() < 5) {
$encodeOutput = (function_exists('gzdeflate')
&& !ini_get('zlib.output_compression'));
require dirname(__FILE__) . '/../config.php';
require dirname(__FILE__) . '/../config.php';/*noLibHook*/
if (! $min_enableBuilder) {
header('Location: /');
@@ -171,7 +171,7 @@ ob_end_clean();
set_include_path(dirname(__FILE__) . '/../lib' . PATH_SEPARATOR . get_include_path());
require 'Minify.php';
require 'Minify.php';/*noLibHook*/
if (0 === stripos(PHP_OS, 'win')) {
Minify::setDocRoot(); // we may be on IIS
+2 -2
View File
@@ -8,7 +8,7 @@
$_oc = ini_get('zlib.output_compression');
// allow access only if builder is enabled
require dirname(__FILE__) . '/../config.php';
require dirname(__FILE__) . '/../config.php';/*noLibHook*/
if (! $min_enableBuilder) {
header('Location: /');
exit();
@@ -20,7 +20,7 @@ if (isset($_GET['hello'])) {
// try to prevent double encoding (may not have an effect)
ini_set('zlib.output_compression', '0');
require $min_libPath . '/HTTP/Encoder.php';
require $min_libPath . '/HTTP/Encoder.php';/*noLibHook*/
HTTP_Encoder::$encodeToIe6 = true; // just in case
$he = new HTTP_Encoder(array(
'content' => 'World!'
+3 -3
View File
@@ -31,7 +31,7 @@ $min_errorLogger = false;
/**
* Allow use of the Minify URI Builder app. If you no longer need
* this, set to false.
**/
*/
$min_enableBuilder = false;
@@ -113,7 +113,7 @@ if ( isset( $_GET['f'] ) )
* Note: Despite this setting, if you include a number at the end of the
* querystring, maxAge will be set to one year. E.g. /min/f=hello.css&123456
*/
$min_serveOptions['maxAge'] = 31536000;
$min_serveOptions['maxAge'] = 31536000;/*noLibHook*/
/**
@@ -124,7 +124,7 @@ $min_serveOptions['maxAge'] = 31536000;
*
* // = shortcut for DOCUMENT_ROOT
*/
//$min_serveOptions['minApp']['allowDirs'] = array('//js', '//css');
//$min_serveOptions['minApp']['allowDirs'] = array('//js', '//css');/*noLibHook*/
/**
* Set to true to disable the "f" GET parameter for specifying files.
+1 -1
View File
@@ -7,7 +7,7 @@
/**
* You may wish to use the Minify URI Builder app to suggest
* changes. http://yourdomain/min/builder/
**/
*/
$min_serveOptions['encodeOutput'] =1;
+6 -6
View File
@@ -10,12 +10,12 @@
define('MINIFY_MIN_DIR', dirname(__FILE__));
// load config
require MINIFY_MIN_DIR . '/config.php';
require MINIFY_MIN_DIR . '/config.php';/*noLibHook*/
// setup include path
set_include_path($min_libPath . PATH_SEPARATOR . get_include_path());
set_include_path($min_libPath . PATH_SEPARATOR . get_include_path());/*noLibHook*/
require 'Minify.php';
require 'Minify.php';/*noLibHook*/
Minify::$uploaderHoursBehind = $min_uploaderHoursBehind;
Minify::setCache(
@@ -36,9 +36,9 @@ if ($min_allowDebugFlag && isset($_GET['debug'])) {
}
if ($min_errorLogger) {
require_once 'Minify/Logger.php';
require_once 'Minify/Logger.php';/*noLibHook*/
if (true === $min_errorLogger) {
require_once 'FirePHP.php';
require_once 'FirePHP.php';/*noLibHook*/
Minify_Logger::setLogger(FirePHP::getInstance(true));
} else {
Minify_Logger::setLogger($min_errorLogger);
@@ -51,7 +51,7 @@ if (preg_match('/&\\d/', $_SERVER['QUERY_STRING'])) {
}
if (isset($_GET['g'])) {
// well need groups config
$min_serveOptions['minApp']['groups'] = (require MINIFY_MIN_DIR . '/groupsConfig.php');
$min_serveOptions['minApp']['groups'] = (require MINIFY_MIN_DIR . '/groupsConfig.php');/*noLibHook*/
}
if (isset($_GET['f']) || isset($_GET['g'])) {
// serve!
+4 -4
View File
@@ -202,7 +202,7 @@ class FirePHP {
* @return array
*/
public function __sleep() {
return array('options','objectFilters','enabled');
return array('options','objectFilters','enabled');/*noLibHook*/
}
/**
@@ -272,7 +272,7 @@ class FirePHP {
* @return void
*/
public function setOptions($Options) {
$this->options = array_merge($this->options,$Options);
$this->options = array_merge($this->options,$Options);/*noLibHook*/
}
/**
@@ -929,7 +929,7 @@ class FirePHP {
// but exist in the object
foreach( $members as $raw_name => $value ) {
$name = $raw_name;
$name = $raw_name;/*noLibHook*/
if ($name{0} == "\0") {
$parts = explode("\0", $name);
@@ -1065,7 +1065,7 @@ class FirePHP {
* @author Brett Stimmerman <brettstimmerman[at]gmail[dot]com>
* @author Christoph Dorn <christoph@christophdorn.com>
* @copyright 2005 Michal Migurski
* @version CVS: $Id: FirePHP.php 5711 2010-01-14 20:33:50Z bfarber $
* @version CVS: $Id: FirePHP.php 8229 2011-03-31 10:17:44Z ips_terabyte $
* @license http://www.opensource.org/licenses/bsd-license.php
* @link http://pear.php.net/pepr/pepr-proposal-show.php?id=198
*/
+1 -1
View File
@@ -5,6 +5,6 @@
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
<a href="http://www.invisionpower.com">IP.Board</a>
</body>
</html>
+8 -8
View File
@@ -7,7 +7,7 @@
/**
* Minify_Source
*/
require_once 'Minify/Source.php';
require_once 'Minify/Source.php';/*noLibHook*/
/**
* Minify - Combines, minifies, and caches JavaScript and CSS files on demand.
@@ -77,7 +77,7 @@ class Minify {
public static function setCache($cache = '', $fileLocking = true)
{
if (is_string($cache)) {
require_once 'Minify/Cache/File.php';
require_once 'Minify/Cache/File.php';/*noLibHook*/
self::$_cache = new Minify_Cache_File($cache, $fileLocking);
} else {
self::$_cache = $cache;
@@ -164,7 +164,7 @@ class Minify {
$class = 'Minify_Controller_' . $controller;
if (! class_exists($class, false)) {
require_once "Minify/Controller/"
. str_replace('_', '/', $controller) . ".php";
. str_replace('_', '/', $controller) . ".php";/*noLibHook*/
}
$controller = new $class();
}
@@ -207,7 +207,7 @@ class Minify {
$contentEncoding = self::$_options['encodeMethod'];
} else {
// sniff request header
require_once 'HTTP/Encoder.php';
require_once 'HTTP/Encoder.php';/*noLibHook*/
// depending on what the client accepts, $contentEncoding may be
// 'x-gzip' while our internal encodeMethod is 'gzip'. Calling
// getAcceptedEncoding(false, false) leaves out compress and deflate as options.
@@ -218,7 +218,7 @@ class Minify {
}
// check client cache
require_once 'HTTP/ConditionalGet.php';
require_once 'HTTP/ConditionalGet.php';/*noLibHook*/
$cgOptions = array(
'lastModifiedTime' => self::$_options['lastModifiedTime']
,'isPublic' => self::$_options['isPublic']
@@ -266,7 +266,7 @@ class Minify {
// the goal is to use only the cache methods to sniff the length and
// output the content, as they do not require ever loading the file into
// memory.
$cacheId = 'minify_' . self::_getCacheId();
$cacheId = 'minify_' . self::_getCacheId();/*noLibHook*/
$fullCacheId = (self::$_options['encodeMethod'])
? $cacheId . '.gz'
: $cacheId;
@@ -376,7 +376,7 @@ class Minify {
if ($unsetPathInfo) {
unset($_SERVER['PATH_INFO']);
}
require_once 'Minify/Logger.php';
require_once 'Minify/Logger.php';/*noLibHook*/
Minify_Logger::log("setDocRoot() set DOCUMENT_ROOT to \"{$_SERVER['DOCUMENT_ROOT']}\"");
}
}
@@ -478,7 +478,7 @@ class Minify {
// do any post-processing (esp. for editing build URIs)
if (self::$_options['postprocessorRequire']) {
require_once self::$_options['postprocessorRequire'];
require_once self::$_options['postprocessorRequire'];/*noLibHook*/
}
if (self::$_options['postprocessor']) {
$content = call_user_func(self::$_options['postprocessor'], $content, $type);
+1 -1
View File
@@ -4,7 +4,7 @@
* @package Minify
*/
require_once 'Minify/Source.php';
require_once 'Minify/Source.php';/*noLibHook*/
/**
* Maintain a single last modification time for a group of Minify sources to
+3 -3
View File
@@ -50,12 +50,12 @@ class Minify_CSS {
*/
public static function minify($css, $options = array())
{
require_once 'Minify/CSS/Compressor.php';
require_once 'Minify/CSS/Compressor.php';/*noLibHook*/
if (isset($options['preserveComments'])
&& !$options['preserveComments']) {
$css = Minify_CSS_Compressor::process($css, $options);
} else {
require_once 'Minify/CommentPreserver.php';
require_once 'Minify/CommentPreserver.php';/*noLibHook*/
$css = Minify_CommentPreserver::process(
$css
,array('Minify_CSS_Compressor', 'process')
@@ -65,7 +65,7 @@ class Minify_CSS {
if (! isset($options['currentDir']) && ! isset($options['prependRelativePath'])) {
return $css;
}
require_once 'Minify/CSS/UriRewriter.php';
require_once 'Minify/CSS/UriRewriter.php';/*noLibHook*/
if (isset($options['currentDir'])) {
return Minify_CSS_UriRewriter::rewrite(
$css
+1 -1
View File
@@ -5,6 +5,6 @@
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
<a href="http://www.invisionpower.com">IP.Board</a>
</body>
</html>
+1 -1
View File
@@ -9,7 +9,7 @@ class Minify_Cache_File {
public function __construct($path = '', $fileLocking = false)
{
if (! $path) {
require_once 'Solar/Dir.php';
require_once 'Solar/Dir.php';/*noLibHook*/
$path = rtrim(Solar_Dir::tmp(), DIRECTORY_SEPARATOR);
}
$this->_locking = $fileLocking;
@@ -5,6 +5,6 @@
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
<a href="http://www.invisionpower.com">IP.Board</a>
</body>
</html>
@@ -60,7 +60,7 @@ abstract class Minify_Controller_Base {
,'postprocessor' => null
// file to require to load preprocessor
,'postprocessorRequire' => null
);
);/*noLibHook*/
}
/**
@@ -100,7 +100,7 @@ abstract class Minify_Controller_Base {
&& is_string($minifierCallback[0])
&& !class_exists($minifierCallback[0], false)) {
require str_replace('_', '/', $minifierCallback[0]) . '.php';
require str_replace('_', '/', $minifierCallback[0]) . '.php';/*noLibHook*/
}
}
@@ -196,7 +196,7 @@ abstract class Minify_Controller_Base {
* @return null
*/
protected function log($msg) {
require_once 'Minify/Logger.php';
require_once 'Minify/Logger.php';/*noLibHook*/
Minify_Logger::log($msg);
}
}
@@ -4,7 +4,7 @@
* @package Minify
*/
require_once 'Minify/Controller/Base.php';
require_once 'Minify/Controller/Base.php';/*noLibHook*/
/**
* Controller class for minifying a set of files
@@ -4,7 +4,7 @@
* @package Minify
*/
require_once 'Minify/Controller/Base.php';
require_once 'Minify/Controller/Base.php';/*noLibHook*/
/**
* Controller class for serving predetermined groups of minimized sets, selected
@@ -4,7 +4,7 @@
* @package Minify
*/
require_once 'Minify/Controller/Base.php';
require_once 'Minify/Controller/Base.php';/*noLibHook*/
/**
* Controller class for requests to /min/index.php
@@ -4,7 +4,7 @@
* @package Minify
*/
require_once 'Minify/Controller/Base.php';
require_once 'Minify/Controller/Base.php';/*noLibHook*/
/**
* Controller class for serving a single HTML page
@@ -73,8 +73,8 @@ class Minify_Controller_Page extends Minify_Controller_Base {
if ($this->_loadCssJsMinifiers) {
// Minify will not call for these so we must manually load
// them when Minify/HTML.php is called for.
require_once 'Minify/CSS.php';
require_once 'JSMin.php';
require_once 'Minify/CSS.php';/*noLibHook*/
require_once 'JSMin.php';/*noLibHook*/
}
parent::loadMinifier($minifierCallback); // load Minify/HTML.php
}
@@ -4,7 +4,7 @@
* @package Minify
*/
require_once 'Minify/Controller/Base.php';
require_once 'Minify/Controller/Base.php';/*noLibHook*/
/**
* Controller class for emulating version 1 of minify.php
@@ -5,6 +5,6 @@
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
<a href="http://www.invisionpower.com">IP.Board</a>
</body>
</html>
@@ -99,7 +99,7 @@ class Minify_ImportProcessor {
// protocol, leave in place for CSS, comment for JS
return self::$_isCss
? $m[0]
: "/* Minify_ImportProcessor will not include remote content */";
: "/* Minify_ImportProcessor will not include remote content */";/*noLibHook*/
}
if ('/' === $url[0]) {
// protocol-relative or root path
+1 -1
View File
@@ -4,7 +4,7 @@
* @package Minify
*/
require 'JSMin.php';
require 'JSMin.php';/*noLibHook*/
/**
* Compress Javascript using Ryan Grove's JSMin class
+1 -1
View File
@@ -59,7 +59,7 @@ class Minify_Lines {
// check for desired URI rewriting
if (isset($options['currentDir'])) {
require_once 'Minify/CSS/UriRewriter.php';
require_once 'Minify/CSS/UriRewriter.php';/*noLibHook*/
Minify_CSS_UriRewriter::$debugText = '';
$content = Minify_CSS_UriRewriter::rewrite(
$content
+1 -1
View File
@@ -19,7 +19,7 @@ if (false === (@include 'class.JavaScriptPacker.php')) {
'The script "class.JavaScriptPacker.php" is required. Please see: http:'
.'//code.google.com/p/minify/source/browse/trunk/min/lib/Minify/Packer.php'
,E_USER_ERROR
);
);/*noLibHook*/
}
/**
+1 -1
View File
@@ -5,6 +5,6 @@
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
<a href="http://www.invisionpower.com">IP.Board</a>
</body>
</html>
+1 -1
View File
@@ -11,7 +11,7 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
* @version $Id: Dir.php 5711 2010-01-14 20:33:50Z bfarber $
* @version $Id: Dir.php 8229 2011-03-31 10:17:44Z ips_terabyte $
*
*/
class Solar_Dir {
+1 -1
View File
@@ -5,6 +5,6 @@
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
<a href="http://www.invisionpower.com">IP.Board</a>
</body>
</html>
+1 -1
View File
@@ -5,6 +5,6 @@
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
<a href="http://www.invisionpower.com">IP.Board</a>
</body>
</html>
+2 -2
View File
@@ -7,7 +7,7 @@
* @package Minify
*/
require_once 'Minify/Build.php';
require_once 'Minify/Build.php';/*noLibHook*/
/**
@@ -81,7 +81,7 @@ function _Minify_getBuild($group)
static $builds = array();
static $gc = false;
if (false === $gc) {
$gc = (require dirname(__FILE__) . '/groupsConfig.php');
$gc = (require dirname(__FILE__) . '/groupsConfig.php');/*noLibHook*/
}
if (! isset($builds[$group])) {
$builds[$group] = new Minify_Build($gc[$group]);