Commit 197bbebb authored by Ryan Wade's avatar Ryan Wade

Moved GetFile() function from SQL.php to fakeSQL.php

parent 8ae5b88e
......@@ -53,11 +53,6 @@
$this->tables[1] = new SQL_TABLE(getUsers());
$this->tables[2] = new SQL_TABLE(getAdmin());
}
private function getFile($location)
{
$myfile = fopen($location,"r");
return fread($myfile,filesize($location));
}
public function GET_SITE_TITLE()
{
return "My Website";
......
<?php
function getFile($location)
{
$myfile = fopen($location,"r");
return fread($myfile,filesize($location));
}
function getPages()
{
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment