[CORE] Fixed some small issues with PEAR

This commit is contained in:
Diogo Cordeiro
2019-07-15 01:40:09 +01:00
parent d9e7862cea
commit 7d262ad50b
76 changed files with 1891 additions and 58027 deletions

View File

@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
define('INSTALLDIR', realpath(__DIR__ . '/..'));
$shortoptions = 'i:n:o';
$longoptions = array('id=', 'nickname=', 'owner');
@@ -33,7 +33,7 @@ Perform commands on behalf of a user, such as sub, unsub, join, drop
END_OF_USERROLE_HELP;
require_once INSTALLDIR.'/scripts/commandline.inc';
require_once INSTALLDIR . '/scripts/commandline.inc';
function interpretCommand($user, $body)
{