Skip to content

Commit

Permalink
Merge pull request #338 from CraftedRO/conf
Browse files Browse the repository at this point in the history
Small cleanup
  • Loading branch information
CraftedRO authored Oct 16, 2024
2 parents 24b2981 + a8eab78 commit 42536b7
Show file tree
Hide file tree
Showing 65 changed files with 112 additions and 191 deletions.
1 change: 1 addition & 0 deletions application/config/acl_defaults.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/*
|--------------------------------------------------------------------------
Expand Down
4 changes: 1 addition & 3 deletions application/config/autoload.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

if (! defined('BASEPATH')) {
exit('No direct script access allowed');
}
/*
| -------------------------------------------------------------------
| AUTO-LOADER
Expand Down
5 changes: 1 addition & 4 deletions application/config/backups.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

if (! defined('BASEPATH')) {
exit('No direct script access allowed');
}
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* @package FusionGen
Expand Down
1 change: 1 addition & 0 deletions application/config/captcha.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/**
*
Expand Down
5 changes: 1 addition & 4 deletions application/config/cdn.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

if (! defined('BASEPATH')) {
exit('No direct script access allowed');
}
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* @package FusionGen
Expand Down
5 changes: 1 addition & 4 deletions application/config/config.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

if (! defined('BASEPATH')) {
exit('No direct script access allowed');
}
defined('BASEPATH') OR exit('No direct script access allowed');

/*
|--------------------------------------------------------------------------
Expand Down
3 changes: 1 addition & 2 deletions application/config/constants.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

defined('BASEPATH') or exit('No direct script access allowed');
defined('BASEPATH') OR exit('No direct script access allowed');

/*
|--------------------------------------------------------------------------
Expand Down
5 changes: 1 addition & 4 deletions application/config/doctypes.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

if (! defined('BASEPATH')) {
exit('No direct script access allowed');
}
defined('BASEPATH') OR exit('No direct script access allowed');

$_doctypes = array(
'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',
Expand Down
12 changes: 6 additions & 6 deletions application/config/emulator_names.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

$emulators = array(
"azerothcore_soap" => "(SRP6) AzerothCore (3.3.5a) - connected through SOAP",
"azerothcore_sph_soap" => "(SPH) AzerothCore (3.3.5a) - connected through SOAP",
"trinity_rbac_soap" => "(SRP6) TrinityCore (3.3.5a) with RBAC - connected through SOAP",
"trinity_rbac_df_soap" => "(BNET) TrinityCore - Dragonflight (10.x.x) with RBAC - connected through SOAP",
"trinity_rbac_sl_soap" => "(BNET) TrinityCore - Shadowlands (9.x.x) with RBAC - connected through SOAP",
"azerothcore_soap" => "(SRP6) AzerothCore (3.3.5a) - connected through SOAP",
"azerothcore_sph_soap" => "(SPH) AzerothCore (3.3.5a) - connected through SOAP",
"trinity_rbac_soap" => "(SRP6) TrinityCore (3.3.5a) with RBAC - connected through SOAP",
"trinity_rbac_df_soap" => "(BNET) TrinityCore - Dragonflight (10.x.x) with RBAC - connected through SOAP",
"trinity_rbac_sl_soap" => "(BNET) TrinityCore - Shadowlands (9.x.x) with RBAC - connected through SOAP",
"trinity_legion_soap" => "(SPH) TrinityCore - Legion (7.x.x) - connected through SOAP",
"cmangos_soap" => "(HEX) CMangos (3.3.5a) - connected through SOAP",
"mop_soap" => "(SPH) MoP (5.4.8) - connected through SOAP",
"mangos_zero_sph_soap" => "(SPH) Mangos Zero (1.12.1) - connected through SOAP",
"mangos_one_two_sph_soap" => "(SPH) Mangos One/Two (2.4.3/3.3.5a) - connected through SOAP",
"mangos_three_sph_soap" => "(SPH) Mangos Three (4.3.4) - connected through SOAP",
"mangos_three_sph_soap" => "(SPH) Mangos Three (4.3.4) - connected through SOAP",
);
4 changes: 1 addition & 3 deletions application/config/foreign_chars.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

if (! defined('BASEPATH')) {
exit('No direct script access allowed');
}
/*
| -------------------------------------------------------------------
| Foreign Characters
Expand Down
1 change: 1 addition & 0 deletions application/config/fusion.php.dist
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* @package FusionGen
Expand Down
1 change: 1 addition & 0 deletions application/config/fusioneditor.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* @package FusionGen
Expand Down
4 changes: 1 addition & 3 deletions application/config/language.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* @package FusionGen
Expand All @@ -9,9 +10,6 @@
* @link http://fusiongen.net
*/

if (! defined('BASEPATH')) {
exit('No direct script access allowed');
}

/*
|--------------------------------------------------------------------------
Expand Down
3 changes: 1 addition & 2 deletions application/config/memcached.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

defined('BASEPATH') or exit('No direct script access allowed');
defined('BASEPATH') OR exit('No direct script access allowed');

/*
| -------------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions application/config/message.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/*
|--------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion application/config/migration.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

defined('BASEPATH') or exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Enable/Disable Migrations
Expand Down
3 changes: 1 addition & 2 deletions application/config/mimes.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

defined('BASEPATH') or exit('No direct script access allowed');
defined('BASEPATH') OR exit('No direct script access allowed');

/*
| -------------------------------------------------------------------
Expand Down
5 changes: 1 addition & 4 deletions application/config/performance.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

if (! defined('BASEPATH')) {
exit('No direct script access allowed');
}
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* @package FusionGen
Expand Down
5 changes: 1 addition & 4 deletions application/config/profiler.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

if (! defined('BASEPATH')) {
exit('No direct script access allowed');
}
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* @package FusionGen
Expand Down
4 changes: 1 addition & 3 deletions application/config/routes.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

if (! defined('BASEPATH')) {
exit('No direct script access allowed');
}
/*
| -------------------------------------------------------------------------
| URI ROUTING
Expand Down
5 changes: 1 addition & 4 deletions application/config/session.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

if (! defined('BASEPATH')) {
exit('No direct script access allowed');
}
defined('BASEPATH') OR exit('No direct script access allowed');

// Session namespace
$config['sess_namespace'] = '';
Expand Down
1 change: 1 addition & 0 deletions application/config/smtp.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* @package FusionGen
Expand Down
5 changes: 1 addition & 4 deletions application/config/social_media.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

if (! defined('BASEPATH')) {
exit('No direct script access allowed');
}
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* @package FusionGen
Expand Down
3 changes: 1 addition & 2 deletions application/config/user_agents.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

defined('BASEPATH') or exit('No direct script access allowed');
defined('BASEPATH') OR exit('No direct script access allowed');

/*
| -------------------------------------------------------------------
Expand Down
5 changes: 4 additions & 1 deletion application/config/version.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php $config['FusionGENVersion'] = '1.0.7';
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

$config['FusionGENVersion'] = '1.0.7';
3 changes: 2 additions & 1 deletion application/config/wow_constants.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

$config['races'] = lang("races", "wow_constants");
$config['classes'] = lang("classes", "wow_constants");
Expand Down Expand Up @@ -42,7 +43,7 @@
3 => "Hunter",
4 => "Rogue",
5 => "Priest",
6 => "Death knight",
6 => "Death Knight",
7 => "Shaman",
8 => "Mage",
9 => "Warlock",
Expand Down
1 change: 1 addition & 0 deletions application/config/wow_zones.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

$config['zones'] = lang("zones", "wow_zones");
5 changes: 1 addition & 4 deletions application/core/MY_Input.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

if (! defined('BASEPATH')) {
exit('No direct script access allowed');
}
defined('BASEPATH') OR exit('No direct script access allowed');

class MY_Input extends CI_Input
{
Expand Down
3 changes: 1 addition & 2 deletions application/core/MY_Loader.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

(defined('BASEPATH')) or exit('No direct script access allowed');
defined('BASEPATH') OR exit('No direct script access allowed');

/* load the MX_Loader class */
require APPPATH . "third_party/MX/Loader.php";
Expand Down
3 changes: 1 addition & 2 deletions application/core/MY_Router.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

(defined('BASEPATH')) or exit('No direct script access allowed');
defined('BASEPATH') OR exit('No direct script access allowed');

/* load the MX_Router class */
require APPPATH . "third_party/MX/Router.php";
Expand Down
3 changes: 2 additions & 1 deletion application/helpers/breadcrumb_helper.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* Create a breadcrumb for headlines
Expand Down
3 changes: 2 additions & 1 deletion application/helpers/email_helper.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* Send a mail
Expand Down
3 changes: 2 additions & 1 deletion application/helpers/emulator_helper.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* Get the name of a table
Expand Down
3 changes: 2 additions & 1 deletion application/helpers/lang_helper.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* Short-command to get the current language name
Expand Down
3 changes: 2 additions & 1 deletion application/helpers/permission_helper.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* Check if a user has permission to do a certain task
Expand Down
3 changes: 2 additions & 1 deletion application/helpers/tinymce_helper.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* Output TinyMCE script
Expand Down
2 changes: 1 addition & 1 deletion application/language/english/wow_constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
3 => "Hunter",
4 => "Rogue",
5 => "Priest",
6 => "Death knight",
6 => "Death Knight",
7 => "Shaman",
8 => "Mage",
9 => "Warlock",
Expand Down
5 changes: 1 addition & 4 deletions application/libraries/Acl.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

if (!defined('BASEPATH')) {
exit('No direct script access allowed');
}
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* @package FusionGen
Expand Down
5 changes: 1 addition & 4 deletions application/libraries/Administrator.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

if (!defined('BASEPATH')) {
exit('No direct script access allowed');
}
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* @package FusionGen
Expand Down
5 changes: 1 addition & 4 deletions application/libraries/Cache.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

if (!defined('BASEPATH')) {
exit('No direct script access allowed');
}
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* @package FusionGen
Expand Down
1 change: 1 addition & 0 deletions application/libraries/Captcha.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* @package FusionGen
Expand Down
6 changes: 1 addition & 5 deletions application/libraries/Ci_smarty.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<?php


if (!defined('BASEPATH')) {
exit('No direct script access allowed');
}
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* @package FusionGen
Expand Down
5 changes: 1 addition & 4 deletions application/libraries/Dbbackup.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

if (!defined('BASEPATH')) {
exit('No direct script access allowed');
}
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* @package FusionGen
Expand Down
5 changes: 1 addition & 4 deletions application/libraries/Fusioneditor.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

if (!defined('BASEPATH')) {
exit('No direct script access allowed');
}
defined('BASEPATH') OR exit('No direct script access allowed');

/**
* @package FusionGen
Expand Down
Loading

0 comments on commit 42536b7

Please sign in to comment.