forked from Seanom/Tinifier-Concrete5-Optimiser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
18 lines (16 loc) · 945 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
A method of speeding up your concrete5 site. Note that tinifier is still a beta version, and to use on production sites with care.
Installation instructions-
1) download tinifier
2) move view.php to the root/libraries directory of your site
3) move tiny.php to the root/helpers directory of your site.
4) enjoy!
If you are having javascript issues, copy tiny-js.php to root/helpers and rename to tiny.php. Also, javascript with a class of nocombine will be ignored.
Debug Instructions
1) create a new user that I can login in as with a name of say debugj
2) replace line 775 of the view.php file - currently
if(!$cp->canWrite() && !$c->isSystemPage()){
with
$u = new User();
if($u->getUserName()=="debugj"{
3) private message me through c5 at http://www.concrete5.org/profile/-/view/27444/ the login details to the concrete5 backend and ftp
this will ensure that I can take a look at your site, but no one else will be able to see tinifier.