IP : 18.119.134.63Hostname : host45.registrar-servers.comKernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64Disable Function : None :) OS : Linux
PATH:
/
home/
../
var/
softaculous/
cpg/
../
elkarte/
../
magento242/
../
typo/
../
razor/
softaculous_install.php/
/
<?php
/** * razorCMS FBCMS Softaculous Installer * * Updates configuration in sqlite db based on GET/POST parameters and responds in a RESTful way. * Removes the ocnfiguration file once complete. RUN THIS FROM BASE INSTALL PATH! * * @param String GET/POST email - email address for the default user account * @param String GET/POST password - the password for the default user account * @param String/Bool GET/POST json - return json response * For GET json response - RAZOR_BASE_PATH/softaculous_install.php?json=true&email=razorcms@razorcms.co.uk&password=password * For GET raw html response - RAZOR_BASE_PATH/softaculous_install.php?email=razorcms@razorcms.co.uk&password= * * @return mixed (raw html or json) - The result of the install as a RESTful response (400 on error) with containing data * * Copywrite 2014 to Present Day - Paul Smith (aka smiffy6969, razorcms) * * @author Paul Smith * @site ulsmith.net * @created Jan 2015 */
// update db $db = new RazorPDO(); $user = $db->edit_data('user', array('email_address' => $email, 'password' => $password), array('id' => 1), array('id'));
// check update OK and return result if (empty($user)) RazorAPI::response('user not updated', $json, 400); else RazorAPI::response('User details updated', $json);