[Linpha-cvs] SF.net SVN: linpha: [4739] trunk/linpha2
Status: Inactive
Brought to you by:
bzrudi
From: <bz...@us...> - 2007-07-10 19:42:23
|
Revision: 4739 http://svn.sourceforge.net/linpha/?rev=4739&view=rev Author: bzrudi Date: 2007-07-10 12:42:22 -0700 (Tue, 10 Jul 2007) Log Message: ----------- fixed sys_image_exiftool_avail var, was not set correctly Modified Paths: -------------- trunk/linpha2/install/step11_finish.php trunk/linpha2/lib/classes/linpha.exiftool.class.php Modified: trunk/linpha2/install/step11_finish.php =================================================================== --- trunk/linpha2/install/step11_finish.php 2007-07-10 19:18:54 UTC (rev 4738) +++ trunk/linpha2/install/step11_finish.php 2007-07-10 19:42:22 UTC (rev 4739) @@ -141,10 +141,10 @@ * exiftool available value */ -if(isset($_POST['sys_import_exiftool_avail'])) +if(isset($_SESSION['sys_import_exiftool_avail'])) { $result = $linpha->db->Execute("UPDATE ".LIN_PREFIX."config " . - "SET option_value = '".LinSql::linAddslashes($_POST['sys_import_exiftool_avail'])."' " . + "SET option_value = '".LinSql::linAddslashes($_SESSION['sys_import_exiftool_avail'])."' " . "WHERE option_name = 'sys_import_exiftool_avail'"); if(!$result) { Modified: trunk/linpha2/lib/classes/linpha.exiftool.class.php =================================================================== --- trunk/linpha2/lib/classes/linpha.exiftool.class.php 2007-07-10 19:18:54 UTC (rev 4738) +++ trunk/linpha2/lib/classes/linpha.exiftool.class.php 2007-07-10 19:42:22 UTC (rev 4739) @@ -125,11 +125,11 @@ LinFilesys::linExec($this->exiftool.' '.$parameters.' "'.$filename.'"', $meta, $return); - /* + echo $this->exiftool.' '.$parameters.' "'.$filename.'"'; echo '<pre>', print_r($meta), '</pre>'; exit(); - */ + /** * Create usable array information by cycling and splitting * all information This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |