Skip to content

Instantly share code, notes, and snippets.

@favrik
Created May 3, 2012 20:54
Show Gist options
  • Save favrik/2589338 to your computer and use it in GitHub Desktop.
Save favrik/2589338 to your computer and use it in GitHub Desktop.
compiling script
<?php
$tiny_mce = realpath(__DIR__ ."/../../htdocs/js/tiny_mce");
require "$tiny_mce/tiny_mce_gzip.php";
$compressor = new TinyMCE_Compressor(array(
'base_path' => $tiny_mce,
'filename' => 'compiled.js',
'compress' => false,
'source' => true
));
$compressor->handleRequest();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment