pathinfo_filename - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: GS Development Testing - (alpha/beta) (http://get-simple.info/forums/forumdisplay.php?fid=14) +--- Thread: pathinfo_filename (/showthread.php?tid=1414) |
pathinfo_filename - madvic - 2011-03-18 Hello, Another problem with this fonction : admin\inc\plugin_function.php line 156 In php > 5.2 : Code: $pathName= pathinfo_filename($caller['file']); Code: $pathName= pathinfo_filename($caller['file']); pathinfo_filename - ccagle8 - 2011-03-18 ok, so 5.1.3, the filename is the full path instead of just the name? pathinfo_filename - Joshas - 2011-03-18 GetSimple minimal requirement is PHP 5.2, should we work on supporting earlier PHP versions? pathinfo_filename - madvic - 2011-03-18 @ccagle8 : Yes, and the plugin don't work. @Joshas: I know, but 'pathinfo' is just the only problem I encountered and the problem is solve by a function 'pathinfo_filename'. pathinfo_filename - ccagle8 - 2011-03-18 Joshas Wrote:GetSimple minimal requirement is PHP 5.2, should we work on supporting earlier PHP versions?I feel like if it's not too much work, then we should make an attempt. PHP4 = NO, but anything above 5.1 i think we should try. pathinfo_filename - ccagle8 - 2011-03-19 @madvic - if you have php 5.1.3, can you try and fix that function so it returns only the filename? I don't have that version - and cant easily find a fix for it that works (not that i could test it anyway) pathinfo_filename - madvic - 2011-03-19 ok, no problem. pathinfo_filename - Oleg06 - 2011-03-19 why when I turn in gsconfig.php 55 line define ('GSEDITORLANG', 'ru');, I can not edit a page? I copied the file ru.js from version 2.03 py pathinfo_filename - ccagle8 - 2011-03-19 @Oleg: http://code.google.com/p/get-simple-cms/source/detail?r=407 pathinfo_filename - Oleg06 - 2011-03-19 yes earned general system is improved simply super pathinfo_filename - madvic - 2011-03-19 ccagle8 Wrote:@madvic - if you have php 5.1.3, can you try and fix that function so it returns only the filename? I don't have that version - and cant easily find a fix for it that works (not that i could test it anyway) and here : Code: function pathinfo_filename($file) { |