@@ -85,7 +85,7 @@ |
||
| 85 | 85 | 'jpm' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), |
| 86 | 86 | 'mj2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), |
| 87 | 87 | 'mjp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), |
| 88 | - 'png' => array('image/png', 'image/x-png'), |
|
| 88 | + 'png' => array('image/png', 'image/x-png'), |
|
| 89 | 89 | 'tiff' => 'image/tiff', |
| 90 | 90 | 'tif' => 'image/tiff', |
| 91 | 91 | 'css' => array('text/css', 'text/plain'), |
@@ -17,48 +17,48 @@ |
||
| 17 | 17 | |
| 18 | 18 | // smiley image name width height alt |
| 19 | 19 | |
| 20 | - ':-)' => array('grin.gif', '19', '19', 'grin'), |
|
| 21 | - ':lol:' => array('lol.gif', '19', '19', 'LOL'), |
|
| 22 | - ':cheese:' => array('cheese.gif', '19', '19', 'cheese'), |
|
| 23 | - ':)' => array('smile.gif', '19', '19', 'smile'), |
|
| 24 | - ';-)' => array('wink.gif', '19', '19', 'wink'), |
|
| 25 | - ';)' => array('wink.gif', '19', '19', 'wink'), |
|
| 26 | - ':smirk:' => array('smirk.gif', '19', '19', 'smirk'), |
|
| 27 | - ':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'), |
|
| 28 | - ':-S' => array('confused.gif', '19', '19', 'confused'), |
|
| 29 | - ':wow:' => array('surprise.gif', '19', '19', 'surprised'), |
|
| 30 | - ':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'), |
|
| 31 | - ':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'), |
|
| 32 | - '%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'), |
|
| 33 | - ';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'), |
|
| 34 | - ':P' => array('raspberry.gif', '19', '19', 'raspberry'), |
|
| 35 | - ':blank:' => array('blank.gif', '19', '19', 'blank stare'), |
|
| 36 | - ':long:' => array('longface.gif', '19', '19', 'long face'), |
|
| 37 | - ':ohh:' => array('ohh.gif', '19', '19', 'ohh'), |
|
| 38 | - ':grrr:' => array('grrr.gif', '19', '19', 'grrr'), |
|
| 39 | - ':gulp:' => array('gulp.gif', '19', '19', 'gulp'), |
|
| 40 | - '8-/' => array('ohoh.gif', '19', '19', 'oh oh'), |
|
| 41 | - ':down:' => array('downer.gif', '19', '19', 'downer'), |
|
| 42 | - ':red:' => array('embarrassed.gif', '19', '19', 'red face'), |
|
| 43 | - ':sick:' => array('sick.gif', '19', '19', 'sick'), |
|
| 44 | - ':shut:' => array('shuteye.gif', '19', '19', 'shut eye'), |
|
| 45 | - ':-/' => array('hmm.gif', '19', '19', 'hmmm'), |
|
| 46 | - '>:(' => array('mad.gif', '19', '19', 'mad'), |
|
| 47 | - ':mad:' => array('mad.gif', '19', '19', 'mad'), |
|
| 48 | - '>:-(' => array('angry.gif', '19', '19', 'angry'), |
|
| 49 | - ':angry:' => array('angry.gif', '19', '19', 'angry'), |
|
| 50 | - ':zip:' => array('zip.gif', '19', '19', 'zipper'), |
|
| 51 | - ':kiss:' => array('kiss.gif', '19', '19', 'kiss'), |
|
| 52 | - ':ahhh:' => array('shock.gif', '19', '19', 'shock'), |
|
| 53 | - ':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'), |
|
| 54 | - ':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'), |
|
| 55 | - ':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'), |
|
| 56 | - ':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'), |
|
| 57 | - ':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'), |
|
| 58 | - ':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'), |
|
| 59 | - ':vampire:' => array('vampire.gif', '19', '19', 'vampire'), |
|
| 60 | - ':snake:' => array('snake.gif', '19', '19', 'snake'), |
|
| 61 | - ':exclaim:' => array('exclaim.gif', '19', '19', 'exclaim'), |
|
| 62 | - ':question:' => array('question.gif', '19', '19', 'question') |
|
| 20 | + ':-)' => array('grin.gif', '19', '19', 'grin'), |
|
| 21 | + ':lol:' => array('lol.gif', '19', '19', 'LOL'), |
|
| 22 | + ':cheese:' => array('cheese.gif', '19', '19', 'cheese'), |
|
| 23 | + ':)' => array('smile.gif', '19', '19', 'smile'), |
|
| 24 | + ';-)' => array('wink.gif', '19', '19', 'wink'), |
|
| 25 | + ';)' => array('wink.gif', '19', '19', 'wink'), |
|
| 26 | + ':smirk:' => array('smirk.gif', '19', '19', 'smirk'), |
|
| 27 | + ':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'), |
|
| 28 | + ':-S' => array('confused.gif', '19', '19', 'confused'), |
|
| 29 | + ':wow:' => array('surprise.gif', '19', '19', 'surprised'), |
|
| 30 | + ':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'), |
|
| 31 | + ':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'), |
|
| 32 | + '%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'), |
|
| 33 | + ';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'), |
|
| 34 | + ':P' => array('raspberry.gif', '19', '19', 'raspberry'), |
|
| 35 | + ':blank:' => array('blank.gif', '19', '19', 'blank stare'), |
|
| 36 | + ':long:' => array('longface.gif', '19', '19', 'long face'), |
|
| 37 | + ':ohh:' => array('ohh.gif', '19', '19', 'ohh'), |
|
| 38 | + ':grrr:' => array('grrr.gif', '19', '19', 'grrr'), |
|
| 39 | + ':gulp:' => array('gulp.gif', '19', '19', 'gulp'), |
|
| 40 | + '8-/' => array('ohoh.gif', '19', '19', 'oh oh'), |
|
| 41 | + ':down:' => array('downer.gif', '19', '19', 'downer'), |
|
| 42 | + ':red:' => array('embarrassed.gif', '19', '19', 'red face'), |
|
| 43 | + ':sick:' => array('sick.gif', '19', '19', 'sick'), |
|
| 44 | + ':shut:' => array('shuteye.gif', '19', '19', 'shut eye'), |
|
| 45 | + ':-/' => array('hmm.gif', '19', '19', 'hmmm'), |
|
| 46 | + '>:(' => array('mad.gif', '19', '19', 'mad'), |
|
| 47 | + ':mad:' => array('mad.gif', '19', '19', 'mad'), |
|
| 48 | + '>:-(' => array('angry.gif', '19', '19', 'angry'), |
|
| 49 | + ':angry:' => array('angry.gif', '19', '19', 'angry'), |
|
| 50 | + ':zip:' => array('zip.gif', '19', '19', 'zipper'), |
|
| 51 | + ':kiss:' => array('kiss.gif', '19', '19', 'kiss'), |
|
| 52 | + ':ahhh:' => array('shock.gif', '19', '19', 'shock'), |
|
| 53 | + ':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'), |
|
| 54 | + ':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'), |
|
| 55 | + ':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'), |
|
| 56 | + ':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'), |
|
| 57 | + ':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'), |
|
| 58 | + ':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'), |
|
| 59 | + ':vampire:' => array('vampire.gif', '19', '19', 'vampire'), |
|
| 60 | + ':snake:' => array('snake.gif', '19', '19', 'snake'), |
|
| 61 | + ':exclaim:' => array('exclaim.gif', '19', '19', 'exclaim'), |
|
| 62 | + ':question:' => array('question.gif', '19', '19', 'question') |
|
| 63 | 63 | |
| 64 | 64 | ); |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -require_once APPPATH .'third_party/HMVC/Loader.php'; |
|
| 3 | +require_once APPPATH.'third_party/HMVC/Loader.php'; |
|
| 4 | 4 | |
| 5 | 5 | class MY_Loader extends HMVC_Loader { |
| 6 | 6 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -require_once APPPATH .'third_party/HMVC/Router.php'; |
|
| 3 | +require_once APPPATH.'third_party/HMVC/Router.php'; |
|
| 4 | 4 | |
| 5 | 5 | class MY_Router extends HMVC_Router {} |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | */ |
| 11 | 11 | class Migration_create_auth_tables extends CI_Migration { |
| 12 | 12 | |
| 13 | - public function up () |
|
| 13 | + public function up() |
|
| 14 | 14 | { |
| 15 | 15 | // Auth Login Attempts |
| 16 | 16 | $fields = [ |
@@ -76,14 +76,14 @@ discard block |
||
| 76 | 76 | ] |
| 77 | 77 | ]; |
| 78 | 78 | $this->dbforge->add_field($fields); |
| 79 | - $this->dbforge->add_key( ['email', 'hash'] ); |
|
| 79 | + $this->dbforge->add_key(['email', 'hash']); |
|
| 80 | 80 | |
| 81 | 81 | $this->dbforge->create_table('auth_tokens', true, config_item('migration_create_table_attr')); |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | //-------------------------------------------------------------------- |
| 85 | 85 | |
| 86 | - public function down () |
|
| 86 | + public function down() |
|
| 87 | 87 | { |
| 88 | 88 | $this->dbforge->drop_table('auth_tokens'); |
| 89 | 89 | $this->dbforge->drop_table('auth_logins'); |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | */ |
| 11 | 11 | class Migration_create_user_tables extends CI_Migration { |
| 12 | 12 | |
| 13 | - public function up () |
|
| 13 | + public function up() |
|
| 14 | 14 | { |
| 15 | 15 | // Users |
| 16 | 16 | $fields = [ |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | |
| 110 | 110 | //-------------------------------------------------------------------- |
| 111 | 111 | |
| 112 | - public function down () |
|
| 112 | + public function down() |
|
| 113 | 113 | { |
| 114 | 114 | $this->dbforge->drop_table('users'); |
| 115 | 115 | $this->dbforge->drop_table('user_meta'); |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | */ |
| 11 | 11 | class Migration_create_settings_table extends CI_Migration { |
| 12 | 12 | |
| 13 | - public function up () |
|
| 13 | + public function up() |
|
| 14 | 14 | { |
| 15 | 15 | $fields = [ |
| 16 | 16 | 'name' => [ |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | |
| 35 | 35 | //-------------------------------------------------------------------- |
| 36 | 36 | |
| 37 | - public function down () |
|
| 37 | + public function down() |
|
| 38 | 38 | { |
| 39 | 39 | $this->dbforge->drop_table('settings'); |
| 40 | 40 | } |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | */ |
| 11 | 11 | class Migration_create_mail_queue extends CI_Migration { |
| 12 | 12 | |
| 13 | - public function up () |
|
| 13 | + public function up() |
|
| 14 | 14 | { |
| 15 | 15 | $fields = [ |
| 16 | 16 | 'id' => [ |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | |
| 52 | 52 | //-------------------------------------------------------------------- |
| 53 | 53 | |
| 54 | - public function down () |
|
| 54 | + public function down() |
|
| 55 | 55 | { |
| 56 | 56 | $this->dbforge->drop_table('mail_queue'); |
| 57 | 57 | } |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | */ |
| 11 | 11 | class Migration_create_authorization_tables extends CI_Migration { |
| 12 | 12 | |
| 13 | - public function up () |
|
| 13 | + public function up() |
|
| 14 | 14 | { |
| 15 | 15 | /** |
| 16 | 16 | * Groups Table |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | |
| 107 | 107 | //-------------------------------------------------------------------- |
| 108 | 108 | |
| 109 | - public function down () |
|
| 109 | + public function down() |
|
| 110 | 110 | { |
| 111 | 111 | $this->dbforge->drop_table('auth_groups'); |
| 112 | 112 | $this->dbforge->drop_table('auth_permissions'); |