forked from EqualifyEverything/equalify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.php
20 lines (19 loc) · 821 Bytes
/
install.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/**************!!EQUALIFY IS FOR EVERYONE!!***************
* Let's set up all the tables that Equalify needs to run!
*
* As always, we must remember that every function should
* be designed to be as efficient as possible so that
* Equalify works for everyone.
**********************************************************/
// All the tables are created with this action.
if(DataAccess::table_exists('alerts') == false)
DataAccess::create_alerts_table();
if(DataAccess::table_exists('queued_alerts') == false)
DataAccess::create_queued_alerts_table();
if(DataAccess::table_exists('sites') == false)
DataAccess::create_sites_table();
if(DataAccess::table_exists('tags') == false)
DataAccess::create_tags_table();
if(DataAccess::table_exists('meta') == false)
DataAccess::create_meta_table();