Changeset 3004985
- Timestamp:
- 12/04/2023 08:41:13 AM (2 years ago)
- Location:
- verge3d/trunk
- Files:
-
- 4 edited
-
app.php (modified) (2 diffs)
-
order.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
verge3d.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
verge3d/trunk/app.php
r2883285 r3004985 616 616 $upload_app_dir = $upload_dir.$app_id; 617 617 618 //if (is_dir($upload_app_dir))619 // v3d_rmdir($upload_app_dir);620 621 618 if (!is_dir($upload_app_dir)) 622 619 mkdir($upload_app_dir, 0777, true); … … 631 628 $fullpath = implode("/", $fullpath); 632 629 630 // prevent harmful file types to be uploaded to the server 631 $ext = strtolower(pathinfo($fullpath, PATHINFO_EXTENSION)); 632 $denied = ['php', 'phps', 'phar', 'exe', 'js']; 633 if (in_array($ext, $denied)) { 634 wp_die('error'); 635 } 636 633 637 $path = dirname($fullpath); 634 638 -
verge3d/trunk/order.php
r2883285 r3004985 356 356 $output = ''; 357 357 358 $command = escapeshellcmd($command); 359 358 360 if (function_exists('system')) { 359 361 ob_start(); … … 450 452 451 453 $success = file_put_contents($pdf_html, $pdf_html_text); 452 //copy($pdf_html, '/var/www/wordpress/pdf.html');453 454 454 455 if ($success) { -
verge3d/trunk/readme.txt
r2995028 r3004985 3 3 Tags: verge3d,3d,webgl,3dweb,ecommerce 4 4 Requires at least: 5.0 5 Tested up to: 6. 0.15 Tested up to: 6.4.1 6 6 Requires PHP: 7.0 7 Stable tag: 4.5. 07 Stable tag: 4.5.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 68 68 69 69 == Changelog == 70 71 = 4.5.1 = 72 * Fix order page layout in latest WordPress versions. 73 * Security fixes. 70 74 71 75 = 4.4 = -
verge3d/trunk/verge3d.php
r2995028 r3004985 4 4 Plugin URI: https://www.soft8soft.com/verge3d 5 5 Description: Verge3D is the most artist-friendly toolkit for creating interactive web-based experiences. It can be used to create product configurators, 3D presentations, online stores, e-learning apps, 3D portfolios, browser games and more. 6 Version: 4.5. 06 Version: 4.5.1 7 7 Author: Soft8Soft LLC 8 8 Author URI: https://www.soft8soft.com … … 1329 1329 1330 1330 function v3d_init_custom_styles() { 1331 wp_enqueue_style('v3d_main ', plugin_dir_url( __FILE__ ) . 'css/main.css');1331 wp_enqueue_style('v3d_main_style', plugin_dir_url( __FILE__ ) . 'css/main.css'); 1332 1332 } 1333 1333 add_action('wp_enqueue_scripts', 'v3d_init_custom_styles'); 1334 1334 1335 1335 function v3d_init_custom_styles_admin() { 1336 wp_enqueue_style('v3d_admin ', plugin_dir_url( __FILE__ ) . 'css/admin.css');1336 wp_enqueue_style('v3d_admin_style', plugin_dir_url( __FILE__ ) . 'css/admin.css'); 1337 1337 } 1338 1338 add_action('admin_enqueue_scripts', 'v3d_init_custom_styles_admin'); 1339 1339 1340 1340 function v3d_init_custom_scripts_admin($page) { 1341 wp_enqueue_script('v3d_admin ', plugin_dir_url( __FILE__ ) . 'js/admin.js');1341 wp_enqueue_script('v3d_admin_script', plugin_dir_url( __FILE__ ) . 'js/admin.js'); 1342 1342 } 1343 1343 add_action('admin_enqueue_scripts', 'v3d_init_custom_scripts_admin');
Note: See TracChangeset
for help on using the changeset viewer.