Skip to content

Commit

Permalink
Fix Smarty using proper API
Browse files Browse the repository at this point in the history
  • Loading branch information
epinna committed Jul 2, 2018
1 parent 9f35636 commit d7fa408
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/env_php_tests/smarty-3.1.32-secured.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function generateRandomString($length = 10) {
$smarty = new Smarty;

// clear out all cache files
$smarty->clear_all_cache();
$smarty->clearAllCache();

$inj=$_GET["inj"];
if(isset($_GET["tpl"])) {
Expand Down
2 changes: 1 addition & 1 deletion tests/env_php_tests/smarty-3.1.32-unsecured.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function generateRandomString($length = 10) {
$smarty = new SmartyBC;

// clear out all cache files
$smarty->clear_all_cache();
$smarty->clearAllCache();

// Run render via CLI
if (php_sapi_name() == "cli") {
Expand Down

0 comments on commit d7fa408

Please sign in to comment.