Beispiel #1
0
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
//Check if request was sent to settings.php
if (isset($array['settings'])) {
    //Handle request
    $isUpdateSettingsFormRequest = true;
    try {
        updateSettingsTable($array);
        $success = true;
        $error_message = "";
    } catch (Exception $exc) {
        $success = false;
        $error_message = $exc->getMessage();
    }
}
$settings = getSettings();
?>

<div>
    <h4>SETTINGS</h4>
    <div>
        <div class="row">
            <a href="index.php?p=71" class="span3 button bg-blue bg-hover-dark fg-white">Change Password or Email</a>
Beispiel #2
0
function update_1_3_to_2_1_2(&$s, $dbName)
{
    global $lll, $variableFieldsNum;
    updateTableNames();
    createNewTables();
    updateSettingsTable();
    updateCategoryTable();
    updateCustomFields();
    updateItemTable();
    updateGlobalstatTable();
    updateOtherTables();
}