Changeset 69 for trunk/Graph.php


Ignore:
Timestamp:
Feb 28, 2016, 10:54:30 AM (9 years ago)
Author:
chronos
Message:
  • Modified: Use object oriented approach for page drawing using Application class.
  • Added: SQL updated will be automatic using UpdateTrace.php file.
  • Added: Use generic setup page at URL /setup for SQL structure update.
  • Modified: Update Common package to newer version.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Graph.php

    r67 r69  
    11<?php
    22
    3 include('Global.php');
     3include_once('Application/Core.php');
    44
    55class MeasureGraph
     
    216216}
    217217
    218 $Application = new Application();
    219 $Application->Start();
    220 $Graph = new MeasureGraph($this->Database);
     218$Core = new Core();
     219$Core->ShowPage = false;
     220$Core->Run();
     221$Graph = new MeasureGraph($Core->Database);
    221222$Graph->Render();
Note: See TracChangeset for help on using the changeset viewer.