1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-22 21:52:58 +02:00

rework classloader

- make it available in config
- always use classloader, no manual require
- compatible for future composer alternative
This commit is contained in:
Elan Ruusamäe
2014-10-12 16:27:43 +03:00
parent 4b495f6ae0
commit 96da497e9c
16 changed files with 35 additions and 36 deletions

View File

@@ -1,5 +1,7 @@
<?php
require dirname(__FILE__) . '/../../min/lib/Minify/Loader.php';
function getPost($key) {
return get_magic_quotes_gpc()
? stripslashes($_POST[$key])