Changeset 1153280
- Timestamp:
- 05/04/2015 08:06:54 PM (11 years ago)
- Location:
- screenshot-generator/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
screenshot-generator.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
screenshot-generator/trunk/readme.txt
r1153270 r1153280 4 4 Requires at least: 4.0.0 5 5 Tested up to: 4.1.1 6 Stable tag: 0.1. 46 Stable tag: 0.1.5 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 48 48 49 49 ` 50 brew install phantomjs50 $ brew install phantomjs 51 51 ` 52 52 -
screenshot-generator/trunk/screenshot-generator.php
r1153270 r1153280 4 4 * Plugin URI: https://github.com/lassebunk/screenshot-generator 5 5 * Description: Take automatic screenshots of posts when they are updated. 6 * Version: 0.1. 46 * Version: 0.1.5 7 7 * Author: Lasse Bunk 8 8 * Author URI: https://github.com/lassebunk … … 111 111 $path = exec('which phantomjs'); 112 112 113 if (!empty($path)) { 113 if (defined('PHANTOMJS')) { 114 return PHANTOMJS; 115 } elseif (!empty($path)) { 114 116 return $path; 115 } elseif (defined('PHANTOMJS')) {116 return PHANTOMJS;117 117 } 118 118 }
Note: See TracChangeset
for help on using the changeset viewer.