Diff for Metafox/functions.inc.php between version 1.64 and 1.65
| version 1.64, 2007/07/07 22:16:26 |
version 1.65, 2007/07/19 18:30:50 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.63 2007-04-29 13:12:24 nepto Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.64 2007-07-07 22:16:26 nepto Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 617 function ezin_lookup_upload_image($dir, |
|
| Line 617 function ezin_lookup_upload_image($dir, |
|
| { |
{ |
| if (strlen($file_wo_ext) <= 0) { |
if (strlen($file_wo_ext) <= 0) { |
| // just filename was passed |
// just filename was passed |
| return ezin_lookup_upload_file($dir); |
return ezin_lookup_upload_file($dir, $default_str); |
| } |
} |
| $dir = Platon::append_slash($dir); |
$dir = Platon::append_slash($dir); |
| static $extensions = array('', 'png', 'gif', 'jpg', 'PNG', 'GIF', 'JPG'); |
static $extensions = array('', 'png', 'gif', 'jpg', 'PNG', 'GIF', 'JPG'); |
Platon Group <platon@platon.org> http://platon.org/
|
|