Skip to content

simkimsia/phpThumb-for-cakephp-2.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1442276 · Dec 16, 2011

History

6 Commits
Sep 27, 2011
Sep 27, 2011
Sep 27, 2011
Sep 27, 2011
Sep 27, 2011
Sep 27, 2011
Sep 27, 2011
Sep 27, 2011
Sep 27, 2011
Sep 27, 2011
Sep 27, 2011
Dec 16, 2011
Sep 27, 2011
Sep 27, 2011
Sep 27, 2011
Sep 27, 2011
Sep 27, 2011

Repository files navigation

This is for cakephp 2.0

Changes from original phpThumb v1.7.11

Remove dirname(@$_SERVER['PHP_SELF']) in phpthumb.class.php in line 1038

reason is because in cakephp 1.3
dirname(@$_SERVER['PHP_SELF']) returns /
in cakephp 2.0
dirname(@$_SERVER['PHP_SELF']) returns /index.php/webroot/path/to/image/uploads

example, /index.php/uploads/products

which causes problems when used with MeioUpload in terms of producing the thumbnails

About

Fork of phpThumb for it to work in cakephp 2.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published