summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-06-04 23:10:31 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-06-05 21:23:49 +0200
commitd088234d67f3aa422796d922e08a07949dc53d83 (patch)
treea964821b6b725dd26becbb3e91acf8d7dd5e0014
parent048410164d2a17bbb588e43351e44eeb81610960 (diff)
Move public files to ./public_html
./data/local is not moved because it contains likely untracked files and moving it would throw an error when updating. Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/config/config.php4
-rw-r--r--application/errors/error_404.php2
-rw-r--r--application/errors/error_db.php2
-rw-r--r--application/errors/error_general.php4
l---------data/client1
l---------data/css1
l---------data/fonts1
l---------data/img1
l---------data/js1
-rw-r--r--index.php224
-rw-r--r--public_html/data/css/bootstrap-theme.min.css (renamed from data/css/bootstrap-theme.min.css)0
-rw-r--r--public_html/data/css/bootstrap.min.css (renamed from data/css/bootstrap.min.css)0
-rw-r--r--public_html/data/css/colorbox.css (renamed from data/css/colorbox.css)0
-rw-r--r--public_html/data/css/style.css (renamed from data/css/style.css)0
-rw-r--r--public_html/data/css/ui-lightness/images/animated-overlay.gif (renamed from data/css/ui-lightness/images/animated-overlay.gif)bin1738 -> 1738 bytes
-rw-r--r--public_html/data/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png (renamed from data/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png)bin418 -> 418 bytes
-rw-r--r--public_html/data/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png (renamed from data/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png)bin312 -> 312 bytes
-rw-r--r--public_html/data/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png (renamed from data/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png)bin205 -> 205 bytes
-rw-r--r--public_html/data/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png (renamed from data/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png)bin262 -> 262 bytes
-rw-r--r--public_html/data/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png (renamed from data/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png)bin348 -> 348 bytes
-rw-r--r--public_html/data/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png (renamed from data/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png)bin207 -> 207 bytes
-rw-r--r--public_html/data/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png (renamed from data/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png)bin5815 -> 5815 bytes
-rw-r--r--public_html/data/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png (renamed from data/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png)bin278 -> 278 bytes
-rw-r--r--public_html/data/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png (renamed from data/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png)bin328 -> 328 bytes
-rw-r--r--public_html/data/css/ui-lightness/images/ui-icons_222222_256x240.png (renamed from data/css/ui-lightness/images/ui-icons_222222_256x240.png)bin6922 -> 6922 bytes
-rw-r--r--public_html/data/css/ui-lightness/images/ui-icons_228ef1_256x240.png (renamed from data/css/ui-lightness/images/ui-icons_228ef1_256x240.png)bin4549 -> 4549 bytes
-rw-r--r--public_html/data/css/ui-lightness/images/ui-icons_ef8c08_256x240.png (renamed from data/css/ui-lightness/images/ui-icons_ef8c08_256x240.png)bin4549 -> 4549 bytes
-rw-r--r--public_html/data/css/ui-lightness/images/ui-icons_ffd27a_256x240.png (renamed from data/css/ui-lightness/images/ui-icons_ffd27a_256x240.png)bin4549 -> 4549 bytes
-rw-r--r--public_html/data/css/ui-lightness/images/ui-icons_ffffff_256x240.png (renamed from data/css/ui-lightness/images/ui-icons_ffffff_256x240.png)bin6299 -> 6299 bytes
-rw-r--r--public_html/data/css/ui-lightness/jquery-ui-1.10.3.custom.min.css (renamed from data/css/ui-lightness/jquery-ui-1.10.3.custom.min.css)0
-rw-r--r--public_html/data/fonts/glyphicons-halflings-regular.eot (renamed from data/fonts/glyphicons-halflings-regular.eot)bin14079 -> 14079 bytes
-rw-r--r--public_html/data/fonts/glyphicons-halflings-regular.svg (renamed from data/fonts/glyphicons-halflings-regular.svg)0
-rw-r--r--public_html/data/fonts/glyphicons-halflings-regular.ttf (renamed from data/fonts/glyphicons-halflings-regular.ttf)bin29512 -> 29512 bytes
-rw-r--r--public_html/data/fonts/glyphicons-halflings-regular.woff (renamed from data/fonts/glyphicons-halflings-regular.woff)bin16448 -> 16448 bytes
-rw-r--r--public_html/data/img/asc.gif (renamed from data/img/asc.gif)bin54 -> 54 bytes
-rw-r--r--public_html/data/img/bg.gif (renamed from data/img/bg.gif)bin64 -> 64 bytes
-rw-r--r--public_html/data/img/colorbox/loading.gif (renamed from data/img/colorbox/loading.gif)bin6244 -> 6244 bytes
-rw-r--r--public_html/data/img/desc.gif (renamed from data/img/desc.gif)bin54 -> 54 bytes
-rw-r--r--public_html/data/img/glyphicons-halflings-white.png (renamed from data/img/glyphicons-halflings-white.png)bin8777 -> 8777 bytes
-rw-r--r--public_html/data/img/glyphicons-halflings.png (renamed from data/img/glyphicons-halflings.png)bin12799 -> 12799 bytes
-rw-r--r--public_html/data/js/application.js (renamed from data/js/application.js)0
-rw-r--r--public_html/data/js/lexer-input.js (renamed from data/js/lexer-input.js)0
-rw-r--r--public_html/data/js/main.js (renamed from data/js/main.js)0
-rw-r--r--public_html/data/js/tablesorter.js (renamed from data/js/tablesorter.js)0
-rw-r--r--public_html/data/js/tabwidth-input.js (renamed from data/js/tabwidth-input.js)0
-rw-r--r--public_html/data/js/thumbnail-view.js (renamed from data/js/thumbnail-view.js)0
-rw-r--r--public_html/data/js/uploader.js (renamed from data/js/uploader.js)0
-rw-r--r--public_html/data/js/util.js (renamed from data/js/util.js)0
-rw-r--r--public_html/data/js/vendor/bootstrap.min.js (renamed from data/js/vendor/bootstrap.min.js)0
-rw-r--r--public_html/data/js/vendor/jquery-2.0.3.js (renamed from data/js/vendor/jquery-2.0.3.js)0
-rw-r--r--public_html/data/js/vendor/jquery-2.0.3.min.js (renamed from data/js/vendor/jquery-2.0.3.min.js)0
-rw-r--r--public_html/data/js/vendor/jquery-2.0.3.min.map (renamed from data/js/vendor/jquery-2.0.3.min.map)0
-rw-r--r--public_html/data/js/vendor/jquery-ui-1.10.3.custom.min.js (renamed from data/js/vendor/jquery-ui-1.10.3.custom.min.js)0
-rw-r--r--public_html/data/js/vendor/jquery.colorbox.js (renamed from data/js/vendor/jquery.colorbox.js)0
-rw-r--r--public_html/data/js/vendor/jquery.lazyload.js (renamed from data/js/vendor/jquery.lazyload.js)0
-rw-r--r--public_html/data/js/vendor/jquery.metadata.js (renamed from data/js/vendor/jquery.metadata.js)0
-rw-r--r--public_html/data/js/vendor/jquery.tablesorter.min.js (renamed from data/js/vendor/jquery.tablesorter.min.js)0
-rw-r--r--public_html/data/js/vendor/jquery.wheelzoom.js (renamed from data/js/vendor/jquery.wheelzoom.js)0
-rw-r--r--public_html/data/js/vendor/require.js (renamed from data/js/vendor/require.js)0
-rw-r--r--public_html/data/js/vendor/underscore.js (renamed from data/js/vendor/underscore.js)0
l---------public_html/data/local1
-rw-r--r--public_html/index.php226
62 files changed, 242 insertions, 226 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 9fe49d15f..45cff945e 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -464,8 +464,8 @@ $config['download_driver'] = 'php';
$config['download_nginx_location'] = '/protected-uploads';
-if (file_exists(FCPATH.'application/config/config-local.php')) {
- include FCPATH.'application/config/config-local.php';
+if (file_exists(APPPATH.'config/config-local.php')) {
+ include APPPATH.'config/config-local.php';
}
/* End of file config.php */
diff --git a/application/errors/error_404.php b/application/errors/error_404.php
index cfe923d63..2e69d7e00 100644
--- a/application/errors/error_404.php
+++ b/application/errors/error_404.php
@@ -1,3 +1,3 @@
<?php
$title = "404 Page Not Found";
-include "application/errors/error_general.php";
+include APPPATH."errors/error_general.php";
diff --git a/application/errors/error_db.php b/application/errors/error_db.php
index 255513634..827d7cc31 100644
--- a/application/errors/error_db.php
+++ b/application/errors/error_db.php
@@ -1,3 +1,3 @@
<?php
$title = "Database Error";
-include "application/errors/error_general.php";
+include APPPATH."errors/error_general.php";
diff --git a/application/errors/error_general.php b/application/errors/error_general.php
index bc1a61973..ec9057025 100644
--- a/application/errors/error_general.php
+++ b/application/errors/error_general.php
@@ -22,7 +22,7 @@ if (class_exists("CI_Controller") && !isset($GLOBALS["is_error_page"])) {
exit();
}
- include 'application/views/header.php';
+ include APPPATH.'views/header.php';
?>
<div class="error">
@@ -31,7 +31,7 @@ if (class_exists("CI_Controller") && !isset($GLOBALS["is_error_page"])) {
</div>
<?php
- include 'application/views/footer.php';
+ include APPPATH.'views/footer.php';
} elseif (php_sapi_name() === 'cli' OR defined('STDIN')) {
echo "# $heading\n";
$msg = strip_tags(str_replace("<br>", "\n", $message));
diff --git a/data/client b/data/client
new file mode 120000
index 000000000..4db3afc3c
--- /dev/null
+++ b/data/client
@@ -0,0 +1 @@
+../public_html/data/client \ No newline at end of file
diff --git a/data/css b/data/css
new file mode 120000
index 000000000..94aec2ac2
--- /dev/null
+++ b/data/css
@@ -0,0 +1 @@
+../public_html/data/css \ No newline at end of file
diff --git a/data/fonts b/data/fonts
new file mode 120000
index 000000000..386f89120
--- /dev/null
+++ b/data/fonts
@@ -0,0 +1 @@
+../public_html/data/fonts \ No newline at end of file
diff --git a/data/img b/data/img
new file mode 120000
index 000000000..813bf7cad
--- /dev/null
+++ b/data/img
@@ -0,0 +1 @@
+../public_html/data/img \ No newline at end of file
diff --git a/data/js b/data/js
new file mode 120000
index 000000000..c2e03f7df
--- /dev/null
+++ b/data/js
@@ -0,0 +1 @@
+../public_html/data/js \ No newline at end of file
diff --git a/index.php b/index.php
index 0d75fb299..c0e02d611 100644
--- a/index.php
+++ b/index.php
@@ -1,226 +1,10 @@
<?php
-
-/*
- *---------------------------------------------------------------
- * APPLICATION ENVIRONMENT
- *---------------------------------------------------------------
- *
- * You can load different configurations depending on your
- * current environment. Setting the environment also influences
- * things like logging and error reporting.
- *
- * This can be set to anything, but default usage is:
- *
- * development
- * testing
- * production
- *
- * NOTE: If you change these, also change the error_reporting() code below
- *
- */
- define('ENVIRONMENT', 'development');
-/*
- *---------------------------------------------------------------
- * ERROR REPORTING
- *---------------------------------------------------------------
- *
- * Different environments will require different levels of error reporting.
- * By default development will show errors but testing and live will hide them.
- */
-
-if (false && defined('ENVIRONMENT'))
-{
- switch (ENVIRONMENT)
- {
- case 'development':
- error_reporting(E_ALL);
- break;
-
- case 'testing':
- case 'production':
- error_reporting(0);
- break;
-
- default:
- exit('The application environment is not set correctly.');
- }
-}
-
-/*
- *---------------------------------------------------------------
- * SYSTEM FOLDER NAME
- *---------------------------------------------------------------
- *
- * This variable must contain the name of your "system" folder.
- * Include the path if the folder is not in the same directory
- * as this file.
- *
- */
- $system_path = 'system';
-
-/*
- *---------------------------------------------------------------
- * APPLICATION FOLDER NAME
- *---------------------------------------------------------------
- *
- * If you want this front controller to use a different "application"
- * folder then the default one you can set its name here. The folder
- * can also be renamed or relocated anywhere on your server. If
- * you do, use a full server path. For more info please see the user guide:
- * http://codeigniter.com/user_guide/general/managing_apps.html
- *
- * NO TRAILING SLASH!
- *
- */
- $application_folder = 'application';
-
-/*
- * --------------------------------------------------------------------
- * DEFAULT CONTROLLER
- * --------------------------------------------------------------------
- *
- * Normally you will set your default controller in the routes.php file.
- * You can, however, force a custom routing by hard-coding a
- * specific controller class/function here. For most applications, you
- * WILL NOT set your routing here, but it's an option for those
- * special instances where you might want to override the standard
- * routing in a specific front controller that shares a common CI installation.
- *
- * IMPORTANT: If you set the routing here, NO OTHER controller will be
- * callable. In essence, this preference limits your application to ONE
- * specific controller. Leave the function name blank if you need
- * to call functions dynamically via the URI.
- *
- * Un-comment the $routing array below to use this feature
- *
- */
- // The directory name, relative to the "controllers" folder. Leave blank
- // if your controller is not in a sub-folder within the "controllers" folder
- // $routing['directory'] = '';
-
- // The controller class file name. Example: Mycontroller
- // $routing['controller'] = '';
-
- // The controller function you wish to be called.
- // $routing['function'] = '';
-
-
-/*
- * -------------------------------------------------------------------
- * CUSTOM CONFIG VALUES
- * -------------------------------------------------------------------
- *
- * The $assign_to_config array below will be passed dynamically to the
- * config class when initialized. This allows you to set custom config
- * items or override any default config values found in the config.php file.
- * This can be handy as it permits you to share one application between
- * multiple front controller files, with each file containing different
- * config values.
- *
- * Un-comment the $assign_to_config array below to use this feature
- *
- */
- // $assign_to_config['name_of_config_item'] = 'value of config item';
-
-
-
-// --------------------------------------------------------------------
-// END OF USER CONFIGURABLE SETTINGS. DO NOT EDIT BELOW THIS LINE
-// --------------------------------------------------------------------
-
-/*
- * ---------------------------------------------------------------
- * Resolve the system path for increased reliability
- * ---------------------------------------------------------------
- */
-
- // Set the current directory correctly for CLI requests
- if (defined('STDIN'))
- {
- chdir(dirname(__FILE__));
- }
-
- if (realpath($system_path) !== FALSE)
- {
- $system_path = realpath($system_path).'/';
- }
-
- // ensure there's a trailing slash
- $system_path = rtrim($system_path, '/').'/';
-
- // Is the system path correct?
- if ( ! is_dir($system_path))
- {
- exit("Your system folder path does not appear to be set correctly. Please open the following file and correct this: ".pathinfo(__FILE__, PATHINFO_BASENAME));
- }
-
-/*
- * -------------------------------------------------------------------
- * Now that we know the path, set the main path constants
- * -------------------------------------------------------------------
- */
- // The name of THIS file
- define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME));
-
- // The PHP file extension
- // this global constant is deprecated.
- define('EXT', '.php');
-
- // Path to the system folder
- define('BASEPATH', str_replace("\\", "/", $system_path));
-
- // Path to the front controller (this file)
- define('FCPATH', str_replace(SELF, '', __FILE__));
-
- // Name of the "system folder"
- define('SYSDIR', trim(strrchr(trim(BASEPATH, '/'), '/'), '/'));
-
-
- // The path to the "application" folder
- if (is_dir($application_folder))
- {
- define('APPPATH', $application_folder.'/');
- }
- else
- {
- if ( ! is_dir(BASEPATH.$application_folder.'/'))
- {
- exit("Your application folder path does not appear to be set correctly. Please open the following file and correct this: ".SELF);
- }
-
- define('APPPATH', BASEPATH.$application_folder.'/');
- }
-
- if (getenv("HOME") == "") {
- putenv('HOME='.FCPATH);
- }
-
-/*
- * Custom error handling
- */
-
-require APPPATH.'libraries/ExceptionHandler.php';
-\libraries\ExceptionHandler::setup();
-
/*
- * --------------------------------------------------------------------
- * LOAD THE BOOTSTRAP FILE
- * --------------------------------------------------------------------
+ * Copyright 2015 Florian "Bluewind" Pritz <bluewind@server-speed.net>
*
- * And away we go...
+ * Licensed under AGPLv3
+ * (see COPYING for full license text)
*
*/
-try {
- require_once BASEPATH.'core/CodeIgniter.php';
-} catch (\exceptions\NotAuthenticatedException $e) {
- if (is_cli_client()) {
- show_error(nl2br(htmlspecialchars($e->__toString())), $e->get_http_error_code());
- } else {
- redirect("user/login");
- }
-} catch (\exceptions\PublicApiException $e) {
- show_error(nl2br(htmlspecialchars($e->__toString())), $e->get_http_error_code());
-}
-/* End of file index.php */
-/* Location: ./index.php */
+include 'public_html/index.php';
diff --git a/data/css/bootstrap-theme.min.css b/public_html/data/css/bootstrap-theme.min.css
index cad36b4e6..cad36b4e6 100644
--- a/data/css/bootstrap-theme.min.css
+++ b/public_html/data/css/bootstrap-theme.min.css
diff --git a/data/css/bootstrap.min.css b/public_html/data/css/bootstrap.min.css
index a553c4f5e..a553c4f5e 100644
--- a/data/css/bootstrap.min.css
+++ b/public_html/data/css/bootstrap.min.css
diff --git a/data/css/colorbox.css b/public_html/data/css/colorbox.css
index 8d1b5bd76..8d1b5bd76 100644
--- a/data/css/colorbox.css
+++ b/public_html/data/css/colorbox.css
diff --git a/data/css/style.css b/public_html/data/css/style.css
index f59344f6f..f59344f6f 100644
--- a/data/css/style.css
+++ b/public_html/data/css/style.css
diff --git a/data/css/ui-lightness/images/animated-overlay.gif b/public_html/data/css/ui-lightness/images/animated-overlay.gif
index d441f75eb..d441f75eb 100644
--- a/data/css/ui-lightness/images/animated-overlay.gif
+++ b/public_html/data/css/ui-lightness/images/animated-overlay.gif
Binary files differ
diff --git a/data/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png b/public_html/data/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
index 22f3ede5e..22f3ede5e 100644
--- a/data/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
+++ b/public_html/data/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
Binary files differ
diff --git a/data/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png b/public_html/data/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
index 008180e52..008180e52 100644
--- a/data/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
+++ b/public_html/data/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
Binary files differ
diff --git a/data/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png b/public_html/data/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
index a68551d2a..a68551d2a 100644
--- a/data/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
+++ b/public_html/data/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
Binary files differ
diff --git a/data/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png b/public_html/data/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
index 9945f71c5..9945f71c5 100644
--- a/data/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
+++ b/public_html/data/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
Binary files differ
diff --git a/data/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png b/public_html/data/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
index 24b041634..24b041634 100644
--- a/data/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
+++ b/public_html/data/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
Binary files differ
diff --git a/data/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png b/public_html/data/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
index f82be3bf9..f82be3bf9 100644
--- a/data/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
+++ b/public_html/data/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
Binary files differ
diff --git a/data/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png b/public_html/data/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
index 4a28a9d69..4a28a9d69 100644
--- a/data/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
+++ b/public_html/data/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
Binary files differ
diff --git a/data/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png b/public_html/data/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
index 37a43a13d..37a43a13d 100644
--- a/data/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
+++ b/public_html/data/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
Binary files differ
diff --git a/data/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png b/public_html/data/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
index f2e2a2d3d..f2e2a2d3d 100644
--- a/data/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
+++ b/public_html/data/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
Binary files differ
diff --git a/data/css/ui-lightness/images/ui-icons_222222_256x240.png b/public_html/data/css/ui-lightness/images/ui-icons_222222_256x240.png
index c1cb1170c..c1cb1170c 100644
--- a/data/css/ui-lightness/images/ui-icons_222222_256x240.png
+++ b/public_html/data/css/ui-lightness/images/ui-icons_222222_256x240.png
Binary files differ
diff --git a/data/css/ui-lightness/images/ui-icons_228ef1_256x240.png b/public_html/data/css/ui-lightness/images/ui-icons_228ef1_256x240.png
index 3a0140cff..3a0140cff 100644
--- a/data/css/ui-lightness/images/ui-icons_228ef1_256x240.png
+++ b/public_html/data/css/ui-lightness/images/ui-icons_228ef1_256x240.png
Binary files differ
diff --git a/data/css/ui-lightness/images/ui-icons_ef8c08_256x240.png b/public_html/data/css/ui-lightness/images/ui-icons_ef8c08_256x240.png
index 036ee072d..036ee072d 100644
--- a/data/css/ui-lightness/images/ui-icons_ef8c08_256x240.png
+++ b/public_html/data/css/ui-lightness/images/ui-icons_ef8c08_256x240.png
Binary files differ
diff --git a/data/css/ui-lightness/images/ui-icons_ffd27a_256x240.png b/public_html/data/css/ui-lightness/images/ui-icons_ffd27a_256x240.png
index 8b6c05868..8b6c05868 100644
--- a/data/css/ui-lightness/images/ui-icons_ffd27a_256x240.png
+++ b/public_html/data/css/ui-lightness/images/ui-icons_ffd27a_256x240.png
Binary files differ
diff --git a/data/css/ui-lightness/images/ui-icons_ffffff_256x240.png b/public_html/data/css/ui-lightness/images/ui-icons_ffffff_256x240.png
index 4f624bb2b..4f624bb2b 100644
--- a/data/css/ui-lightness/images/ui-icons_ffffff_256x240.png
+++ b/public_html/data/css/ui-lightness/images/ui-icons_ffffff_256x240.png
Binary files differ
diff --git a/data/css/ui-lightness/jquery-ui-1.10.3.custom.min.css b/public_html/data/css/ui-lightness/jquery-ui-1.10.3.custom.min.css
index 3904c144d..3904c144d 100644
--- a/data/css/ui-lightness/jquery-ui-1.10.3.custom.min.css
+++ b/public_html/data/css/ui-lightness/jquery-ui-1.10.3.custom.min.css
diff --git a/data/fonts/glyphicons-halflings-regular.eot b/public_html/data/fonts/glyphicons-halflings-regular.eot
index 87eaa4342..87eaa4342 100644
--- a/data/fonts/glyphicons-halflings-regular.eot
+++ b/public_html/data/fonts/glyphicons-halflings-regular.eot
Binary files differ
diff --git a/data/fonts/glyphicons-halflings-regular.svg b/public_html/data/fonts/glyphicons-halflings-regular.svg
index 5fee06854..5fee06854 100644
--- a/data/fonts/glyphicons-halflings-regular.svg
+++ b/public_html/data/fonts/glyphicons-halflings-regular.svg
diff --git a/data/fonts/glyphicons-halflings-regular.ttf b/public_html/data/fonts/glyphicons-halflings-regular.ttf
index be784dc1d..be784dc1d 100644
--- a/data/fonts/glyphicons-halflings-regular.ttf
+++ b/public_html/data/fonts/glyphicons-halflings-regular.ttf
Binary files differ
diff --git a/data/fonts/glyphicons-halflings-regular.woff b/public_html/data/fonts/glyphicons-halflings-regular.woff
index 2cc3e4852..2cc3e4852 100644
--- a/data/fonts/glyphicons-halflings-regular.woff
+++ b/public_html/data/fonts/glyphicons-halflings-regular.woff
Binary files differ
diff --git a/data/img/asc.gif b/public_html/data/img/asc.gif
index 74157867f..74157867f 100644
--- a/data/img/asc.gif
+++ b/public_html/data/img/asc.gif
Binary files differ
diff --git a/data/img/bg.gif b/public_html/data/img/bg.gif
index fac668fcf..fac668fcf 100644
--- a/data/img/bg.gif
+++ b/public_html/data/img/bg.gif
Binary files differ
diff --git a/data/img/colorbox/loading.gif b/public_html/data/img/colorbox/loading.gif
index a32df5c08..a32df5c08 100644
--- a/data/img/colorbox/loading.gif
+++ b/public_html/data/img/colorbox/loading.gif
Binary files differ
diff --git a/data/img/desc.gif b/public_html/data/img/desc.gif
index 3b30b3c58..3b30b3c58 100644
--- a/data/img/desc.gif
+++ b/public_html/data/img/desc.gif
Binary files differ
diff --git a/data/img/glyphicons-halflings-white.png b/public_html/data/img/glyphicons-halflings-white.png
index 3bf6484a2..3bf6484a2 100644
--- a/data/img/glyphicons-halflings-white.png
+++ b/public_html/data/img/glyphicons-halflings-white.png
Binary files differ
diff --git a/data/img/glyphicons-halflings.png b/public_html/data/img/glyphicons-halflings.png
index a99699932..a99699932 100644
--- a/data/img/glyphicons-halflings.png
+++ b/public_html/data/img/glyphicons-halflings.png
Binary files differ
diff --git a/data/js/application.js b/public_html/data/js/application.js
index 310362dd9..310362dd9 100644
--- a/data/js/application.js
+++ b/public_html/data/js/application.js
diff --git a/data/js/lexer-input.js b/public_html/data/js/lexer-input.js
index 02dda36dd..02dda36dd 100644
--- a/data/js/lexer-input.js
+++ b/public_html/data/js/lexer-input.js
diff --git a/data/js/main.js b/public_html/data/js/main.js
index 5710dcb68..5710dcb68 100644
--- a/data/js/main.js
+++ b/public_html/data/js/main.js
diff --git a/data/js/tablesorter.js b/public_html/data/js/tablesorter.js
index d500f2ade..d500f2ade 100644
--- a/data/js/tablesorter.js
+++ b/public_html/data/js/tablesorter.js
diff --git a/data/js/tabwidth-input.js b/public_html/data/js/tabwidth-input.js
index 9cc37516d..9cc37516d 100644
--- a/data/js/tabwidth-input.js
+++ b/public_html/data/js/tabwidth-input.js
diff --git a/data/js/thumbnail-view.js b/public_html/data/js/thumbnail-view.js
index 7bc72a556..7bc72a556 100644
--- a/data/js/thumbnail-view.js
+++ b/public_html/data/js/thumbnail-view.js
diff --git a/data/js/uploader.js b/public_html/data/js/uploader.js
index 0eed3334f..0eed3334f 100644
--- a/data/js/uploader.js
+++ b/public_html/data/js/uploader.js
diff --git a/data/js/util.js b/public_html/data/js/util.js
index af3635673..af3635673 100644
--- a/data/js/util.js
+++ b/public_html/data/js/util.js
diff --git a/data/js/vendor/bootstrap.min.js b/public_html/data/js/vendor/bootstrap.min.js
index 1765631f4..1765631f4 100644
--- a/data/js/vendor/bootstrap.min.js
+++ b/public_html/data/js/vendor/bootstrap.min.js
diff --git a/data/js/vendor/jquery-2.0.3.js b/public_html/data/js/vendor/jquery-2.0.3.js
index ebc6c187d..ebc6c187d 100644
--- a/data/js/vendor/jquery-2.0.3.js
+++ b/public_html/data/js/vendor/jquery-2.0.3.js
diff --git a/data/js/vendor/jquery-2.0.3.min.js b/public_html/data/js/vendor/jquery-2.0.3.min.js
index 2be209dd2..2be209dd2 100644
--- a/data/js/vendor/jquery-2.0.3.min.js
+++ b/public_html/data/js/vendor/jquery-2.0.3.min.js
diff --git a/data/js/vendor/jquery-2.0.3.min.map b/public_html/data/js/vendor/jquery-2.0.3.min.map
index 472d71bb0..472d71bb0 100644
--- a/data/js/vendor/jquery-2.0.3.min.map
+++ b/public_html/data/js/vendor/jquery-2.0.3.min.map
diff --git a/data/js/vendor/jquery-ui-1.10.3.custom.min.js b/public_html/data/js/vendor/jquery-ui-1.10.3.custom.min.js
index ad955d90d..ad955d90d 100644
--- a/data/js/vendor/jquery-ui-1.10.3.custom.min.js
+++ b/public_html/data/js/vendor/jquery-ui-1.10.3.custom.min.js
diff --git a/data/js/vendor/jquery.colorbox.js b/public_html/data/js/vendor/jquery.colorbox.js
index f9b676670..f9b676670 100644
--- a/data/js/vendor/jquery.colorbox.js
+++ b/public_html/data/js/vendor/jquery.colorbox.js
diff --git a/data/js/vendor/jquery.lazyload.js b/public_html/data/js/vendor/jquery.lazyload.js
index 5a22d8ea8..5a22d8ea8 100644
--- a/data/js/vendor/jquery.lazyload.js
+++ b/public_html/data/js/vendor/jquery.lazyload.js
diff --git a/data/js/vendor/jquery.metadata.js b/public_html/data/js/vendor/jquery.metadata.js
index eb98e80ad..eb98e80ad 100644
--- a/data/js/vendor/jquery.metadata.js
+++ b/public_html/data/js/vendor/jquery.metadata.js
diff --git a/data/js/vendor/jquery.tablesorter.min.js b/public_html/data/js/vendor/jquery.tablesorter.min.js
index b8605df1e..b8605df1e 100644
--- a/data/js/vendor/jquery.tablesorter.min.js
+++ b/public_html/data/js/vendor/jquery.tablesorter.min.js
diff --git a/data/js/vendor/jquery.wheelzoom.js b/public_html/data/js/vendor/jquery.wheelzoom.js
index 85d75e56f..85d75e56f 100644
--- a/data/js/vendor/jquery.wheelzoom.js
+++ b/public_html/data/js/vendor/jquery.wheelzoom.js
diff --git a/data/js/vendor/require.js b/public_html/data/js/vendor/require.js
index 2205c616a..2205c616a 100644
--- a/data/js/vendor/require.js
+++ b/public_html/data/js/vendor/require.js
diff --git a/data/js/vendor/underscore.js b/public_html/data/js/vendor/underscore.js
index b29332f94..b29332f94 100644
--- a/data/js/vendor/underscore.js
+++ b/public_html/data/js/vendor/underscore.js
diff --git a/public_html/data/local b/public_html/data/local
new file mode 120000
index 000000000..82a3614eb
--- /dev/null
+++ b/public_html/data/local
@@ -0,0 +1 @@
+../../data/local \ No newline at end of file
diff --git a/public_html/index.php b/public_html/index.php
new file mode 100644
index 000000000..71d283abb
--- /dev/null
+++ b/public_html/index.php
@@ -0,0 +1,226 @@
+<?php
+
+/*
+ *---------------------------------------------------------------
+ * APPLICATION ENVIRONMENT
+ *---------------------------------------------------------------
+ *
+ * You can load different configurations depending on your
+ * current environment. Setting the environment also influences
+ * things like logging and error reporting.
+ *
+ * This can be set to anything, but default usage is:
+ *
+ * development
+ * testing
+ * production
+ *
+ * NOTE: If you change these, also change the error_reporting() code below
+ *
+ */
+ define('ENVIRONMENT', 'development');
+/*
+ *---------------------------------------------------------------
+ * ERROR REPORTING
+ *---------------------------------------------------------------
+ *
+ * Different environments will require different levels of error reporting.
+ * By default development will show errors but testing and live will hide them.
+ */
+
+if (false && defined('ENVIRONMENT'))
+{
+ switch (ENVIRONMENT)
+ {
+ case 'development':
+ error_reporting(E_ALL);
+ break;
+
+ case 'testing':
+ case 'production':
+ error_reporting(0);
+ break;
+
+ default:
+ exit('The application environment is not set correctly.');
+ }
+}
+
+/*
+ *---------------------------------------------------------------
+ * SYSTEM FOLDER NAME
+ *---------------------------------------------------------------
+ *
+ * This variable must contain the name of your "system" folder.
+ * Include the path if the folder is not in the same directory
+ * as this file.
+ *
+ */
+ $system_path = dirname(__FILE__).'/../system';
+
+/*
+ *---------------------------------------------------------------
+ * APPLICATION FOLDER NAME
+ *---------------------------------------------------------------
+ *
+ * If you want this front controller to use a different "application"
+ * folder then the default one you can set its name here. The folder
+ * can also be renamed or relocated anywhere on your server. If
+ * you do, use a full server path. For more info please see the user guide:
+ * http://codeigniter.com/user_guide/general/managing_apps.html
+ *
+ * NO TRAILING SLASH!
+ *
+ */
+ $application_folder = dirname(__FILE__).'/../application';
+
+/*
+ * --------------------------------------------------------------------
+ * DEFAULT CONTROLLER
+ * --------------------------------------------------------------------
+ *
+ * Normally you will set your default controller in the routes.php file.
+ * You can, however, force a custom routing by hard-coding a
+ * specific controller class/function here. For most applications, you
+ * WILL NOT set your routing here, but it's an option for those
+ * special instances where you might want to override the standard
+ * routing in a specific front controller that shares a common CI installation.
+ *
+ * IMPORTANT: If you set the routing here, NO OTHER controller will be
+ * callable. In essence, this preference limits your application to ONE
+ * specific controller. Leave the function name blank if you need
+ * to call functions dynamically via the URI.
+ *
+ * Un-comment the $routing array below to use this feature
+ *
+ */
+ // The directory name, relative to the "controllers" folder. Leave blank
+ // if your controller is not in a sub-folder within the "controllers" folder
+ // $routing['directory'] = '';
+
+ // The controller class file name. Example: Mycontroller
+ // $routing['controller'] = '';
+
+ // The controller function you wish to be called.
+ // $routing['function'] = '';
+
+
+/*
+ * -------------------------------------------------------------------
+ * CUSTOM CONFIG VALUES
+ * -------------------------------------------------------------------
+ *
+ * The $assign_to_config array below will be passed dynamically to the
+ * config class when initialized. This allows you to set custom config
+ * items or override any default config values found in the config.php file.
+ * This can be handy as it permits you to share one application between
+ * multiple front controller files, with each file containing different
+ * config values.
+ *
+ * Un-comment the $assign_to_config array below to use this feature
+ *
+ */
+ // $assign_to_config['name_of_config_item'] = 'value of config item';
+
+
+
+// --------------------------------------------------------------------
+// END OF USER CONFIGURABLE SETTINGS. DO NOT EDIT BELOW THIS LINE
+// --------------------------------------------------------------------
+
+/*
+ * ---------------------------------------------------------------
+ * Resolve the system path for increased reliability
+ * ---------------------------------------------------------------
+ */
+
+ // Set the current directory correctly for CLI requests
+ if (defined('STDIN'))
+ {
+ chdir(dirname(__FILE__).'/..');
+ }
+
+ if (realpath($system_path) !== FALSE)
+ {
+ $system_path = realpath($system_path).'/';
+ }
+
+ // ensure there's a trailing slash
+ $system_path = rtrim($system_path, '/').'/';
+
+ // Is the system path correct?
+ if ( ! is_dir($system_path))
+ {
+ exit("Your system folder path does not appear to be set correctly. Please open the following file and correct this: ".pathinfo(__FILE__, PATHINFO_BASENAME));
+ }
+
+/*
+ * -------------------------------------------------------------------
+ * Now that we know the path, set the main path constants
+ * -------------------------------------------------------------------
+ */
+ // The name of THIS file
+ define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME));
+
+ // The PHP file extension
+ // this global constant is deprecated.
+ define('EXT', '.php');
+
+ // Path to the system folder
+ define('BASEPATH', str_replace("\\", "/", $system_path));
+
+ // Path to the front controller (this file)
+ define('FCPATH', str_replace(SELF, '', __FILE__).'/../');
+
+ // Name of the "system folder"
+ define('SYSDIR', trim(strrchr(trim(BASEPATH, '/'), '/'), '/'));
+
+
+ // The path to the "application" folder
+ if (is_dir($application_folder))
+ {
+ define('APPPATH', $application_folder.'/');
+ }
+ else
+ {
+ if ( ! is_dir(BASEPATH.$application_folder.'/'))
+ {
+ exit("Your application folder path does not appear to be set correctly. Please open the following file and correct this: ".SELF);
+ }
+
+ define('APPPATH', BASEPATH.$application_folder.'/');
+ }
+
+ if (getenv("HOME") == "") {
+ putenv('HOME='.FCPATH);
+ }
+
+/*
+ * Custom error handling
+ */
+
+require APPPATH.'libraries/ExceptionHandler.php';
+\libraries\ExceptionHandler::setup();
+
+/*
+ * --------------------------------------------------------------------
+ * LOAD THE BOOTSTRAP FILE
+ * --------------------------------------------------------------------
+ *
+ * And away we go...
+ *
+ */
+try {
+ require_once BASEPATH.'core/CodeIgniter.php';
+} catch (\exceptions\NotAuthenticatedException $e) {
+ if (is_cli_client()) {
+ show_error(nl2br(htmlspecialchars($e->__toString())), $e->get_http_error_code());
+ } else {
+ redirect("user/login");
+ }
+} catch (\exceptions\PublicApiException $e) {
+ show_error(nl2br(htmlspecialchars($e->__toString())), $e->get_http_error_code());
+}
+
+/* End of file index.php */
+/* Location: ./index.php */