diff --git a/app/install/submit.php b/app/install/submit.php
index d3ffb470..01d2174c 100755
--- a/app/install/submit.php
+++ b/app/install/submit.php
@@ -94,7 +94,7 @@ if($action == "TEST_DB"){
//Run create table script
- $insql = file_get_contents(CLIENT_APP_PATH."../data/scripts/".APP_ID."db.sql");
+ $insql = file_get_contents(CLIENT_APP_PATH."../scripts/".APP_ID."db.sql");
$sql_list = preg_split('/;/',$insql);
foreach($sql_list as $sql){
if (preg_match('/^\s+$/', $sql) || $sql == '') { # skip empty lines
@@ -104,7 +104,7 @@ if($action == "TEST_DB"){
}
//Run create table script
- $insql = file_get_contents(CLIENT_APP_PATH."../data/scripts/".APP_ID."_master_data.sql");
+ $insql = file_get_contents(CLIENT_APP_PATH."../scripts/".APP_ID."_master_data.sql");
$sql_list = preg_split('/;/',$insql);
foreach($sql_list as $sql){
if (preg_match('/^\s+$/', $sql) || $sql == '') { # skip empty lines
diff --git a/build.xml b/build.xml
index 617ef336..f2aadfa9 100644
--- a/build.xml
+++ b/build.xml
@@ -4,16 +4,15 @@
-
+
-
-
+
-
-
-
-
+
+
@@ -190,39 +185,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -239,42 +201,60 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -282,7 +262,7 @@
-
+
@@ -290,49 +270,30 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/data/migrations/list.php b/migrations/list.php
similarity index 100%
rename from data/migrations/list.php
rename to migrations/list.php
diff --git a/data/migrations/v20161116_190001_unique_index_cron_name.php b/migrations/v20161116_190001_unique_index_cron_name.php
similarity index 100%
rename from data/migrations/v20161116_190001_unique_index_cron_name.php
rename to migrations/v20161116_190001_unique_index_cron_name.php
diff --git a/data/migrations/v20170310_190401_add_timesheet_changes.php b/migrations/v20170310_190401_add_timesheet_changes.php
similarity index 100%
rename from data/migrations/v20170310_190401_add_timesheet_changes.php
rename to migrations/v20170310_190401_add_timesheet_changes.php
diff --git a/data/migrations/v20170702_190500_add_attendance_image.php b/migrations/v20170702_190500_add_attendance_image.php
similarity index 100%
rename from data/migrations/v20170702_190500_add_attendance_image.php
rename to migrations/v20170702_190500_add_attendance_image.php
diff --git a/data/scripts/icehrm_master_data.sql b/scripts/icehrm_master_data.sql
similarity index 100%
rename from data/scripts/icehrm_master_data.sql
rename to scripts/icehrm_master_data.sql
diff --git a/data/scripts/icehrm_sample_data.sql b/scripts/icehrm_sample_data.sql
similarity index 100%
rename from data/scripts/icehrm_sample_data.sql
rename to scripts/icehrm_sample_data.sql
diff --git a/data/scripts/icehrmdb.sql b/scripts/icehrmdb.sql
similarity index 100%
rename from data/scripts/icehrmdb.sql
rename to scripts/icehrmdb.sql
diff --git a/data/scripts/upgrade_v13.3.OS_to_v14.0.OS.sql b/scripts/upgrade_v13.3.OS_to_v14.0.OS.sql
similarity index 100%
rename from data/scripts/upgrade_v13.3.OS_to_v14.0.OS.sql
rename to scripts/upgrade_v13.3.OS_to_v14.0.OS.sql
diff --git a/data/scripts/upgrade_v14.0.OS_to_v15.0.OS.sql b/scripts/upgrade_v14.0.OS_to_v15.0.OS.sql
similarity index 100%
rename from data/scripts/upgrade_v14.0.OS_to_v15.0.OS.sql
rename to scripts/upgrade_v14.0.OS_to_v15.0.OS.sql
diff --git a/data/scripts/upgrade_v15.0.OS_to_v15.2.OS.sql b/scripts/upgrade_v15.0.OS_to_v15.2.OS.sql
similarity index 100%
rename from data/scripts/upgrade_v15.0.OS_to_v15.2.OS.sql
rename to scripts/upgrade_v15.0.OS_to_v15.2.OS.sql
diff --git a/data/scripts/upgrade_v15.2.OS_to_v16.0.OS.sql b/scripts/upgrade_v15.2.OS_to_v16.0.OS.sql
similarity index 100%
rename from data/scripts/upgrade_v15.2.OS_to_v16.0.OS.sql
rename to scripts/upgrade_v15.2.OS_to_v16.0.OS.sql
diff --git a/data/scripts/upgrade_v16.0.OS_v18.0.OS.sql b/scripts/upgrade_v16.0.OS_v18.0.OS.sql
similarity index 100%
rename from data/scripts/upgrade_v16.0.OS_v18.0.OS.sql
rename to scripts/upgrade_v16.0.OS_v18.0.OS.sql
diff --git a/data/scripts/upgrade_v18.0.OS_v19.0.OS.sql b/scripts/upgrade_v18.0.OS_v19.0.OS.sql
similarity index 100%
rename from data/scripts/upgrade_v18.0.OS_v19.0.OS.sql
rename to scripts/upgrade_v18.0.OS_v19.0.OS.sql