Skip to content
Permalink
Browse files

Split txplib_misc.php to public/admin

see #1426
  • Loading branch information...
bloatware committed Nov 8, 2019
1 parent 36ae4bb commit 020e95f5b377dd5371832261766b847285bfee10
@@ -38,8 +38,6 @@
if ($event == 'admin') {
require_privs('admin');
include_once txpath.'/lib/txplib_admin.php';
$available_steps = array(
'admin_multi_edit' => true,
'admin_change_pageby' => true,
@@ -334,8 +334,6 @@ function doTxpValidate()
// Reset request.
sleep(3);
include_once txpath.'/lib/txplib_admin.php';
$message = ($p_userid) ? send_reset_confirmation_request($p_userid) : '';
} elseif ($p_alter || $p_set) {
// Password change/set confirmation.
@@ -86,6 +86,7 @@
$trace->start('[PHP includes]');
include_once txpath.'/lib/constants.php';
include txpath.'/lib/txplib_misc.php';
include txpath.'/lib/txplib_admin.php';
include txpath.'/vendors/Textpattern/Loader.php';

0 comments on commit 020e95f

Please sign in to comment.
You can’t perform that action at this time.