Changeset 1592486
- Timestamp:
- 02/09/2017 01:09:27 PM (9 years ago)
- Location:
- saperu-integration
- Files:
-
- 2 added
- 2 edited
-
assets/icon-128x128.png (added)
-
assets/icon-256x256.png (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/saperu-integration.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
saperu-integration/trunk/readme.txt
r1586338 r1592486 9 9 Tested up to: 4.7 10 10 Stable tag: trunk 11 Version: 0.0 111 Version: 0.02 12 12 Author: Sape.ru 13 13 Author URI: https://www.sape.ru/ … … 88 88 v 0.01 89 89 First versiov don't have upgrade 90 v 0.01 91 Fix Sape Articles Integration 90 92 91 93 == Changelog == 92 94 = 0.01 = 93 95 First version 96 = 0.02 = 97 Change SAPE_USER.php generation -
saperu-integration/trunk/saperu-integration.php
r1586338 r1592486 4 4 Plugin URI: https://github.com/sape-ru/client-code-wordpress/releases 5 5 Description: Plugin for Sape.ru webmaster services integration 6 Version: 0.0 16 Version: 0.02 7 7 Author: Sape.ru 8 8 Author URI: http://www.sape.ru/ … … 595 595 if($SID){ 596 596 $dir = self::_getSapePath() . DIRECTORY_SEPARATOR . 'sape.php'; 597 $data = sprintf('<?php define(\'_SAPE_USER\', \'%s\');require_once(\'%s\');$sape = new SAPE_articles(); $sape->process_request();', $SID, $dir);597 $data = sprintf('<?php define(\'_SAPE_USER\', \'%s\');require_once(\'%s\');$sape = new SAPE_articles();echo $sape->process_request();', $SID, $dir); 598 598 file_put_contents($_SERVER['DOCUMENT_ROOT'].'/'.$SID.'.php', $data); 599 599 }
Note: See TracChangeset
for help on using the changeset viewer.