Skip to content

Commit 1520e0e

Browse files
committed
softaculous call fix
1 parent df22e38 commit 1520e0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ function_requirements('whm_api');
222222
$script = (int) $extra['script'];
223223
include_once(__DIR__.'/../../../../include/webhosting/softaculous/sdk.php');
224224
$userdata = $GLOBALS['tf']->accounts->read($serviceClass->getCustid());
225-
$soft = new Softaculous_SDK();
225+
$soft = new \Softaculous_SDK();
226226
$soft->login = "https://{$username}:{$password}@{$serverdata[$settings['PREFIX'].'_name']}:2083/frontend/paper_lantern/softaculous/index.live.php";
227227
$soft->list_scripts();
228228
$data['overwrite_existing'] = 1;

0 commit comments

Comments
 (0)