Yes, it is cleaner as it :
before :
after :
before :
Code:
$gsg_pathExt = pathinfo($gsgfile,PATHINFO_EXTENSION );
$gsg_pathName= pathinfo($gsgfile,PATHINFO_FILENAME );
after :
Code:
$gsg_pathExt = pathinfo($gsgfile,PATHINFO_EXTENSION );
$gsg_pathName= pathinfo_filename($gsgfile);