Changeset 69 for trunk/add.php
- Timestamp:
- Feb 28, 2016, 10:54:30 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/add.php
r68 r69 1 1 <?php 2 2 3 include ('Global.php');3 include_once('Application/Core.php'); 4 4 5 $Application = new Application(); 6 $Application->Start(); 5 $Core = new Core(); 6 $Core->ShowPage = false; 7 $Core->Run(); 8 7 9 8 10 if(array_key_exists('MeasureId', $_GET) and array_key_exists('Value', $_GET)) … … 10 12 $MeasureId = addslashes($_GET['MeasureId']); 11 13 $Value = addslashes($_GET['Value']); 12 $Measure = new Measure($ Application->Database);14 $Measure = new Measure($Core->Database); 13 15 $Measure->Load($MeasureId); 14 16 $HostName = gethostbyaddr($_SERVER['REMOTE_ADDR']);
Note:
See TracChangeset
for help on using the changeset viewer.