Skip to content

Commit f46bcea

Browse files
committed
Initialize Roundcube using iniset.php include only
1 parent 167bb7f commit f46bcea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Roundcube/Composer/ExtensionInstaller.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function install(InstalledRepositoryInterface $repo, PackageInterface $pa
4646
if (!defined('INSTALL_PATH')) {
4747
define('INSTALL_PATH', getcwd() . '/');
4848
}
49-
include_once(INSTALL_PATH . 'program/include/clisetup.php');
49+
require_once INSTALL_PATH . 'program/include/iniset.php';
5050

5151
$this->rcubeVersionCheck($package);
5252

@@ -120,7 +120,7 @@ public function update(InstalledRepositoryInterface $repo, PackageInterface $ini
120120
if (!defined('INSTALL_PATH')) {
121121
define('INSTALL_PATH', getcwd() . '/');
122122
}
123-
include_once(INSTALL_PATH . 'program/include/clisetup.php');
123+
require_once INSTALL_PATH . 'program/include/iniset.php';
124124

125125
$this->rcubeVersionCheck($target);
126126

@@ -197,7 +197,7 @@ public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $
197197
if (!defined('INSTALL_PATH')) {
198198
define('INSTALL_PATH', getcwd() . '/');
199199
}
200-
include_once(INSTALL_PATH . 'program/include/clisetup.php');
200+
require_once INSTALL_PATH . 'program/include/iniset.php';
201201

202202
$self = $this;
203203
$config = $self->composer->getConfig()->get('roundcube');

0 commit comments

Comments
 (0)