Changeset 3147 for branches/2.0/include/ws_functions.inc.php
- Timestamp:
- Feb 14, 2009, 3:28:21 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/include/ws_functions.inc.php
r3064 r3147 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( … … 1618 1615 $current_rank_of[$cat_id] = 0; 1619 1616 } 1620 1617 1621 1618 if ('auto' == $rank_on_category[$cat_id]) 1622 1619 {
Note: See TracChangeset
for help on using the changeset viewer.