2011-03-18, 00:06:26
Hello,
for a plugin compatible with php <5.2 : (PATHINFO_EXTENSION don't exist)
plugin\squareit-gallery\inc\gsg_plugins.inc.php - line 19:
before :
after :
for a plugin compatible with php <5.2 : (PATHINFO_EXTENSION don't exist)
plugin\squareit-gallery\inc\gsg_plugins.inc.php - line 19:
before :
Code:
$gsg_pathExt = pathinfo($gsgfile,PATHINFO_EXTENSION );
$gsg_pathName= pathinfo($gsgfile,PATHINFO_FILENAME );
after :
Code:
$temp = pathinfo($gsgfile);
$gsg_pathExt = pathinfo($gsgfile,PATHINFO_EXTENSION );
$gsg_pathName= $temp['filename'] = substr($temp['basename'],0 ,strlen($temp['basename'])-strlen($gsg_pathExt)-1);