Changeset 721626
- Timestamp:
- 06/02/2013 01:12:55 PM (13 years ago)
- Location:
- lazy-pinner
- Files:
-
- 1 added
- 4 edited
- 4 copied
-
tags/2.2 (added)
-
tags/2.2/images (copied) (copied from lazy-pinner/trunk/images)
-
tags/2.2/includes (copied) (copied from lazy-pinner/trunk/includes)
-
tags/2.2/includes/admin.php (modified) (3 diffs)
-
tags/2.2/lazypinner.php (copied) (copied from lazy-pinner/trunk/lazypinner.php) (1 diff)
-
tags/2.2/readme.txt (copied) (copied from lazy-pinner/trunk/readme.txt) (2 diffs)
-
trunk/includes/admin.php (modified) (3 diffs)
-
trunk/lazypinner.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lazy-pinner/tags/2.2/includes/admin.php
r716328 r721626 18 18 19 19 function draw_form(){ 20 if(function_exists( 'mcrypt_module_open') ){20 if(function_exists( 'mcrypt_module_open' ) && !ini_get('safe_mode') && !ini_get('open_basedir') ){ 21 21 global $wpdb; 22 22 $wpdb->show_errors(); … … 32 32 } 33 33 else { 34 echo "<div class=\"error\">Mcrypt Not Installed</div>"; 34 echo "<div class=\"error\">Your server is not configured to use this plugin. </div>"; 35 Main_error(); 35 36 } 36 37 ?> … … 233 234 draw_form(); 234 235 } 235 ?> 236 236 237 function Main_error() 238 { 239 echo "<br>This plugin needs the following. Please check your server settings or contact your host." 240 ?> 241 <ul> 242 <?php 243 if(!function_exists( 'mcrypt_module_open' )) { 244 ?> 245 <li>Mcrypt needs to be installed</li> 246 <?php } 247 if(ini_get('safe_mode')) { 248 ?> 249 <li>Safe Mode neeeds to be disabled</li> 250 <?php } 251 if(ini_get('open_basedir')){ 252 ?> 253 <li>Open_basedir cannot be set</li> 254 <?php } ?> 255 </ul> 256 <? 257 exit; 258 } 259 260 ?> 261 -
lazy-pinner/tags/2.2/lazypinner.php
r716341 r721626 4 4 Plugin URI: http://www.biofects.com 5 5 Description: This plugin automatically post your image and title to pineterst on Publish or Save 6 Version: 2. 1.46 Version: 2.2 7 7 Author: Lee Thompson and Nick Westerlund 8 8 Author URI: http://www.biofects.com -
lazy-pinner/tags/2.2/readme.txt
r716341 r721626 5 5 Requires at least: 3.0 6 6 Tested up to: 3.5.1 7 Stable tag: 2. 1.47 Stable tag: 2.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 69 69 = 2.1.4 = 70 70 Forgot to save new file 71 72 = 2.2 = 73 Added some error checking -
lazy-pinner/trunk/includes/admin.php
r716328 r721626 18 18 19 19 function draw_form(){ 20 if(function_exists( 'mcrypt_module_open') ){20 if(function_exists( 'mcrypt_module_open' ) && !ini_get('safe_mode') && !ini_get('open_basedir') ){ 21 21 global $wpdb; 22 22 $wpdb->show_errors(); … … 32 32 } 33 33 else { 34 echo "<div class=\"error\">Mcrypt Not Installed</div>"; 34 echo "<div class=\"error\">Your server is not configured to use this plugin. </div>"; 35 Main_error(); 35 36 } 36 37 ?> … … 233 234 draw_form(); 234 235 } 235 ?> 236 236 237 function Main_error() 238 { 239 echo "<br>This plugin needs the following. Please check your server settings or contact your host." 240 ?> 241 <ul> 242 <?php 243 if(!function_exists( 'mcrypt_module_open' )) { 244 ?> 245 <li>Mcrypt needs to be installed</li> 246 <?php } 247 if(ini_get('safe_mode')) { 248 ?> 249 <li>Safe Mode neeeds to be disabled</li> 250 <?php } 251 if(ini_get('open_basedir')){ 252 ?> 253 <li>Open_basedir cannot be set</li> 254 <?php } ?> 255 </ul> 256 <? 257 exit; 258 } 259 260 ?> 261 -
lazy-pinner/trunk/lazypinner.php
r716341 r721626 4 4 Plugin URI: http://www.biofects.com 5 5 Description: This plugin automatically post your image and title to pineterst on Publish or Save 6 Version: 2. 1.46 Version: 2.2 7 7 Author: Lee Thompson and Nick Westerlund 8 8 Author URI: http://www.biofects.com -
lazy-pinner/trunk/readme.txt
r716341 r721626 5 5 Requires at least: 3.0 6 6 Tested up to: 3.5.1 7 Stable tag: 2. 1.47 Stable tag: 2.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 69 69 = 2.1.4 = 70 70 Forgot to save new file 71 72 = 2.2 = 73 Added some error checking
Note: See TracChangeset
for help on using the changeset viewer.