Changeset 3145 for trunk/include/ws_functions.inc.php
- Timestamp:
- 02/14/09 03:24:10 (4 years ago)
- Files:
-
- 1 modified
-
trunk/include/ws_functions.inc.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/ws_functions.inc.php
r3065 r3145 523 523 } 524 524 525 include_once(PHPWG_ROOT_PATH.'include/functions_comment.inc.php');526 527 525 $comm = array( 528 526 'author' => trim( stripslashes($params['author']) ), … … 703 701 ) 704 702 { 705 include_once(PHPWG_ROOT_PATH.'include/functions_comment.inc.php');706 703 $comment_post_data['author'] = $user['username']; 707 704 $comment_post_data['key'] = get_comment_post_key($params['image_id']); … … 1042 1039 // last chance to make the directory writable 1043 1040 @chmod($high_dir, 0777); 1044 1041 1045 1042 if (!is_writable($high_dir)) 1046 1043 { … … 1048 1045 } 1049 1046 } 1050 1047 1051 1048 secure_directory($high_dir); 1052 1049 1053 1050 // high resolution path, same name as web size file 1054 1051 $high_path = sprintf( … … 1483 1480 // thumbnail_content 1484 1481 // thumbnail_sum 1485 1482 1486 1483 $params['image_id'] = (int)$params['image_id']; 1487 1484 if ($params['image_id'] <= 0) … … 1537 1534 ); 1538 1535 } 1539 1536 1540 1537 if (isset($params['categories'])) 1541 1538 { … … 1618 1615 $current_rank_of[$cat_id] = 0; 1619 1616 } 1620 1617 1621 1618 if ('auto' == $rank_on_category[$cat_id]) 1622 1619 {
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)