Changeset 1895872
- Timestamp:
- 06/20/2018 02:19:46 PM (8 years ago)
- Location:
- shieldfy
- Files:
-
- 15 deleted
- 2 edited
- 20 copied
-
tags/3.5.1 (copied) (copied from shieldfy/trunk)
-
tags/3.5.1/ajax.php (deleted)
-
tags/3.5.1/assets/css (copied) (copied from shieldfy/trunk/assets/css)
-
tags/3.5.1/assets/fonts (copied) (copied from shieldfy/trunk/assets/fonts)
-
tags/3.5.1/assets/img (copied) (copied from shieldfy/trunk/assets/img)
-
tags/3.5.1/assets/js (copied) (copied from shieldfy/trunk/assets/js)
-
tags/3.5.1/assets/screenshot-1.png (deleted)
-
tags/3.5.1/assets/screenshot-2.png (deleted)
-
tags/3.5.1/assets/screenshot-3.png (deleted)
-
tags/3.5.1/assets/screenshot-4.png (deleted)
-
tags/3.5.1/assets/screenshot-5.png (deleted)
-
tags/3.5.1/assets/screenshot-6.png (deleted)
-
tags/3.5.1/bootstrap.php (copied) (copied from shieldfy/trunk/bootstrap.php)
-
tags/3.5.1/certificate (copied) (copied from shieldfy/trunk/certificate)
-
tags/3.5.1/composer.json (copied) (copied from shieldfy/trunk/composer.json)
-
tags/3.5.1/composer.lock (copied) (copied from shieldfy/trunk/composer.lock)
-
tags/3.5.1/css (deleted)
-
tags/3.5.1/dashboard.php (deleted)
-
tags/3.5.1/favicon-32x32.png (copied) (copied from shieldfy/trunk/favicon-32x32.png)
-
tags/3.5.1/fonts (deleted)
-
tags/3.5.1/img (deleted)
-
tags/3.5.1/js (deleted)
-
tags/3.5.1/lib.php (deleted)
-
tags/3.5.1/libs (copied) (copied from shieldfy/trunk/libs)
-
tags/3.5.1/libs/_alternative_db.php (copied) (copied from shieldfy/trunk/libs/_alternative_db.php)
-
tags/3.5.1/libs/base.php (copied) (copied from shieldfy/trunk/libs/base.php) (2 diffs)
-
tags/3.5.1/license.txt (copied) (copied from shieldfy/trunk/license.txt)
-
tags/3.5.1/pages (copied) (copied from shieldfy/trunk/pages)
-
tags/3.5.1/readme.txt (copied) (copied from shieldfy/trunk/readme.txt) (2 diffs)
-
tags/3.5.1/settings_page.php (deleted)
-
tags/3.5.1/shieldfy.client.php (copied) (copied from shieldfy/trunk/shieldfy.client.php)
-
tags/3.5.1/shieldfy.php (copied) (copied from shieldfy/trunk/shieldfy.php)
-
tags/3.5.1/shieldfy.php.client (deleted)
-
tags/3.5.1/shieldfy.png (copied) (copied from shieldfy/trunk/shieldfy.png)
-
tags/3.5.1/vendor (copied) (copied from shieldfy/trunk/vendor)
-
trunk/libs/base.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shieldfy/tags/3.5.1/libs/base.php
r1855342 r1895872 33 33 34 34 if(file_exists($dbFile)){ 35 $oldContent = file_get_contents($dbFile); 36 //check for shieldfy code 37 if(strstr($oldContent, '\Shieldfy\Guard')){ 38 echo json_encode(array('status'=>'success')); 39 return; 40 } 41 //insert our content as the beginning of the code 42 $newContent .= "\n ?>" . $oldContent; 35 echo json_encode(array('status'=>'error','message'=>'Shieldfy cannot be installed now')); 43 36 } 44 37 … … 78 71 delete_option('shieldfy_active_app_key'); 79 72 delete_option('shieldfy_active_app_secret'); 80 81 73 if(file_exists(WP_CONTENT_DIR.'/db.php')){ 74 $oldcode = file_get_contents(WP_CONTENT_DIR.'/db.php'); 75 file_put_contents(WP_CONTENT_DIR.'/db.php.bkp',$oldcode); 76 unlink(WP_CONTENT_DIR.'/db.php'); 77 } 82 78 83 79 } -
shieldfy/tags/3.5.1/readme.txt
r1861217 r1895872 4 4 Requires at least: 3.0.1 5 5 Tested up to: 4.9 6 Stable tag: 3.5 6 Stable tag: 3.5.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 12 12 == Description == 13 13 14 = WARNING: This plugin is paused and not active right now , send email to team@shieldfy.com if you have any questions. = 15 16 17 ---------------------------------- 14 18 15 19 = Start Protecting Your Website Block attacks targeting your website. = -
shieldfy/trunk/libs/base.php
r1855342 r1895872 33 33 34 34 if(file_exists($dbFile)){ 35 $oldContent = file_get_contents($dbFile); 36 //check for shieldfy code 37 if(strstr($oldContent, '\Shieldfy\Guard')){ 38 echo json_encode(array('status'=>'success')); 39 return; 40 } 41 //insert our content as the beginning of the code 42 $newContent .= "\n ?>" . $oldContent; 35 echo json_encode(array('status'=>'error','message'=>'Shieldfy cannot be installed now')); 43 36 } 44 37 … … 78 71 delete_option('shieldfy_active_app_key'); 79 72 delete_option('shieldfy_active_app_secret'); 80 81 73 if(file_exists(WP_CONTENT_DIR.'/db.php')){ 74 $oldcode = file_get_contents(WP_CONTENT_DIR.'/db.php'); 75 file_put_contents(WP_CONTENT_DIR.'/db.php.bkp',$oldcode); 76 unlink(WP_CONTENT_DIR.'/db.php'); 77 } 82 78 83 79 } -
shieldfy/trunk/readme.txt
r1861217 r1895872 4 4 Requires at least: 3.0.1 5 5 Tested up to: 4.9 6 Stable tag: 3.5 6 Stable tag: 3.5.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 12 12 == Description == 13 13 14 = WARNING: This plugin is paused and not active right now , send email to team@shieldfy.com if you have any questions. = 15 16 17 ---------------------------------- 14 18 15 19 = Start Protecting Your Website Block attacks targeting your website. =
Note: See TracChangeset
for help on using the changeset viewer.