Completed
Branch master (bcadff)
by Michael
05:30
created
dump.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,10 +18,10 @@
 block discarded – undo
18 18
 **/
19 19
 
20 20
 // connect xoops database 
21
-if ( !include("../../mainfile.php") ) {
21
+if (!include("../../mainfile.php")) {
22 22
     die("XOOPS root path not defined");
23 23
 }
24
-if ( !is_object($xoopsUser) || !is_object($xoopsModule) || !$xoopsUser->isAdmin($xoopsModule->mid()) ) exit( _NOPERM );
25
-include(XOOPS_ROOT_PATH."/header.php");
24
+if (!is_object($xoopsUser) || !is_object($xoopsModule) || !$xoopsUser->isAdmin($xoopsModule->mid())) exit(_NOPERM);
25
+include(XOOPS_ROOT_PATH . "/header.php");
26 26
 include "./include/bigdump.php";
27 27
 ?>
28 28
\ No newline at end of file
Please login to merge, or discard this patch.