1075 Commits

Author SHA1 Message Date
Kim Keown
cb75b24aa7 Revision to edit-page.php - Admin folder rename
Update 10-27. Upon further reading about global variables, it seems they are only declared when the string replacement is within a function. After testing deletion of the global intended to encompass if/else replacements occurring within a function file outside of the functions, the pages appear to work normally. The additional global on the function pages is apparently unnecessary, therefore I am removing them.

Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 15- Reference Admin folder variable within function
	     global $adminfolder;

Line 33 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'edit-page/'.$args['slug']);
Original: 	Redirect::page('admin', 'edit-page/'.$args['slug']);

Line 45- Reference Admin folder variable within function
	     global $adminfolder;

Line 53 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'manage-pages');
Original: 	Redirect::page('admin', 'manage-pages');

Line 88 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'manage-pages');
Original: 	Redirect::page('admin', 'manage-pages');
2016-10-27 09:12:38 -06:00
Kim Keown
84fa70d9e1 Revision add-user.php - Admin folder rename
Update 10-27. Upon further reading about global variables, it seems they only need to be declared when the string replacement is within a function. After testing deletion of the global intended to encompass if/else replacements occurring within a function file outside of the functions, the pages appear to work normally. The additional global on the function pages is apparently unnecessary, therefore I am removing them.

Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 11 - Replace Admin string with folder variable:
	        Redirect::page($adminfolder, 'dashboard');
Original: 	Redirect::page('admin', 'dashboard');

Line 81- Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'users');
Original: 	Redirect::page('admin', 'users');
2016-10-27 09:09:03 -06:00
Kim Keown
6196260c17 Revision users.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 9 - Replace Admin string with folder variable:
	     Redirect::page($adminfolder, 'dashboard');
Original: 	Redirect::page('admin', 'dashboard');
2016-10-25 07:03:53 -06:00
Kim Keown
6931a53030 Revise user-password.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 40 - Reference Admin folder variable 
               global $adminfolder;

Line 55 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'users');
Original:   	Redirect::page('admin', 'users');

Line 71 - Replace Admin string with folder variable:
	        Redirect::page($adminfolder, 'users');
Original:   	Redirect::page('admin', 'users')
2016-10-25 07:02:03 -06:00
Kim Keown
bd5440c0d7 Revise uninstall-plugin.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 9 - Replace Admin string with folder variable:
	         Redirect::page($adminfolder, 'dashboard');
Original: 	Redirect::page('admin', 'dashboard');

Line 32 - Replace Admin string with folder variable:
               Redirect::page($adminfolder, 'plugins');
Original: 	Redirect::page('admin', 'plugins');
2016-10-25 06:57:25 -06:00
Kim Keown
231482d2c4 Revision themes.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 9 - Replace Admin string with folder variable:
	     Redirect::page($adminfolder, 'dashboard');
Original: 	Redirect::page('admin', 'dashboard');
2016-10-25 06:54:10 -06:00
Kim Keown
0bec155d8b Revise settings.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 3 - Reference Admin folder variable 
             global $adminfolder;

Line 11 - Replace Admin string with folder variable:
	        Redirect::page($adminfolder, 'dashboard');
Original:   	Redirect::page('admin', 'dashboard');

Line 58 - Replace Admin string with folder variable:
	        Redirect::page($adminfolder, $layout['controller']);
Original:   	Redirect::page('admin', $layout['controller']);
2016-10-25 06:51:48 -06:00
Kim Keown
ec9498c03a Revise settings-regional.php- Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 3 - Reference Admin folder variable 
             global $adminfolder;

Line 11 - Replace Admin string with folder variable:
	        Redirect::page($adminfolder, 'dashboard');
Original:   	Redirect::page('admin', 'dashboard');

Line 58 - Replace Admin string with folder variable:
	       Redirect::page($adminfolder, $layout['controller']);
Original:   	Redirect::page('admin', $layout['controller']);
2016-10-25 06:48:40 -06:00
Kim Keown
22919fd52b Revise settings-general.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 3 - Reference Admin folder variable 
             global $adminfolder;

Line 11 - Replace Admin string with folder variable:
	        Redirect::page($adminfolder, 'dashboard');
Original:   	Redirect::page('admin', 'dashboard');


Line 58 - Replace Admin string with folder variable:
	         Redirect::page($adminfolder, $layout['controller']);
Original:   	Redirect::page('admin', $layout['controller']);
2016-10-25 06:43:53 -06:00
Kim Keown
8f04e5b9f8 Revise settings-advanced.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 3 - Reference Admin folder variable 
               global $adminfolder;

Line 11 - Replace Admin string with folder variable:
	Redirect::page($adminfolder, 'dashboard');
Original:   	Redirect::page('admin', 'dashboard');

Line 56 - Replace Admin string with folder variable:
	Redirect::page($adminfolder, $layout['controller']);
Original:   	Redirect::page('admin', $layout['controller']);
2016-10-25 06:36:34 -06:00
Kim Keown
e48417bbfc Revision plugins.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 9 - Replace Admin string with folder variable:
	Redirect::page($adminfolder, 'dashboard');
Original: 	Redirect::page('admin', 'dashboard');
2016-10-25 06:29:47 -06:00
Kim Keown
9ee2292b7b Revise new-post.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 14 - Reference Admin folder variable within function
	       global $adminfolder;

Line 29 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'manage-posts');
Original:   Redirect::page('admin', 'manage-posts');
2016-10-25 06:26:39 -06:00
Kim Keown
75ea887348 Revise new-page.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 15 - Reference Admin folder variable within function
	       global $adminfolder;

Line 27 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'manage-pages');
Original: 	Redirect::page('admin', 'manage-pages');
2016-10-25 06:23:30 -06:00
Kim Keown
bc50352c93 Revise login.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 16- Reference Admin folder variable within function
	      global $adminfolder;

Line 29 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'dashboard');
Original: 	Redirect::page('admin', 'dashboard');
2016-10-25 06:18:08 -06:00
Kim Keown
1b37c3f537 Revise login-email.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 17 - Reference Admin folder variable within function
	       	global $adminfolder;

Line 37 - Replace Admin string with folder variable:
		$link = $Site->url().$adminfolder.'/login-email?tokenEmail='.$token.'&username='.$username;
Original: 	$link = $Site->url().'admin/login-email?tokenEmail='.$token.'&username='.$username;


Line 78 - Reference Admin folder variable within function
	      global $adminfolder;

Line 91 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'dashboard');
Original:  Redirect::page('admin', 'dashboard');
2016-10-25 06:12:40 -06:00
Kim Keown
3e5b1380e3 Revise install-theme.php- Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 9 - Replace Admin string with folder variable:
	        Redirect::page($adminfolder, 'dashboard');
Original: 	Redirect::page('admin', 'dashboard');

Line 39 - Replace Admin string with folder variable:
                Redirect::page($adminfolder, 'themes');
Original: 	Redirect::page('admin', 'themes');
2016-10-25 06:03:52 -06:00
Kim Keown
b54418e86a Revise install-plugin.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 9 - Replace Admin string with folder variable:
	        Redirect::page($adminfolder, 'dashboard');
Original: 	Redirect::page('admin', 'dashboard');


Line 36 - Replace Admin string with folder variable:
                Redirect::page($adminfolder, 'plugins');
Original: 	Redirect::page('admin', 'plugins');
2016-10-25 06:00:34 -06:00
Kim Keown
fc2a350f2f Revision to edit-user.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 113- Reference Admin folder variable 
             global $adminfolder;

Line 115 - Replace Admin string with folder variable:
	        Redirect::page($adminfolder, 'users');
Original: 	Redirect::page('admin', 'users');
2016-10-25 05:56:59 -06:00
Kim Keown
f6d66b0634 Revise edit-post.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 15- Reference Admin folder variable within function
	       global $adminfolder;

Line 30 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'edit-post/'.$args['slug']);
Original: 	Redirect::page('admin', 'edit-post/'.$args['slug']);

Line 44- Reference Admin folder variable within function
	      global $adminfolder;

Line 55 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'manage-posts');
Original: 	Redirect::page('admin', 'manage-posts');

Line 85- Reference Admin folder variable
              global $adminfolder;

Line 90 - Replace Admin string with folder variable:
	Redirect::page('admin', 'manage-posts');
Original: 	Redirect::page('admin', 'manage-pages');
2016-10-25 05:46:57 -06:00
Kim Keown
64eb3382a2 Update edit-post.php
Revise edit-post.php - Admin folder rename

Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 15- Reference Admin folder variable within function
	       global $adminfolder;

Line 30 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'edit-post/'.$args['slug']);
Original: 	Redirect::page('admin', 'edit-post/'.$args['slug']);

Line 44- Reference Admin folder variable within function
	      global $adminfolder;

Line 55 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'manage-posts');
Original: 	Redirect::page('admin', 'manage-posts');

Line 85- Reference Admin folder variable
              global $adminfolder;

Line 90 - Replace Admin string with folder variable:
	       Redirect::page($adminfolder, 'manage-posts');
Original: 	Redirect::page('admin', 'manage-pages');
2016-10-25 05:46:19 -06:00
Kim Keown
6c69c2d16b Revise edit-page.php - Admin folder rename
Revision to edit-page.php - Admin folder rename

Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 15- Reference Admin folder variable within function
	     global $adminfolder;

Line 33 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'edit-page/'.$args['slug']);
Original: 	Redirect::page('admin', 'edit-page/'.$args['slug']);

Line 45- Reference Admin folder variable within function
	     global $adminfolder;

Line 53 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'manage-pages');
Original: 	Redirect::page('admin', 'manage-pages');

Line 83- Reference Admin folder variable
               global $adminfolder;

Line 88 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'manage-pages');
Original: 	Redirect::page('admin', 'manage-pages');
2016-10-25 05:41:37 -06:00
Kim Keown
6ac3aec1e9 Revise edit-post.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 15- Reference Admin folder variable within function
	       global $adminfolder;

Line 30 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'edit-post/'.$args['slug']);
Original: 	Redirect::page('admin', 'edit-post/'.$args['slug']);

Line 44- Reference Admin folder variable within function
	      global $adminfolder;

Line 55 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'manage-posts');
Original: 	Redirect::page('admin', 'manage-posts');

Line 85- Reference Admin folder variable
              global $adminfolder;

Line 90 - Replace Admin string with folder variable:
	Redirect::page('admin', 'manage-posts');
Original: 	Redirect::page('admin', 'manage-pages');
2016-10-25 05:34:17 -06:00
Kim Keown
259d4c3e34 Update edit-page.php
Revision to edit-page.php - Admin folder rename

Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 15- Reference Admin folder variable within function
	     global $adminfolder;

Line 33 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'edit-page/'.$args['slug']);
Original: 	Redirect::page('admin', 'edit-page/'.$args['slug']);

Line 45- Reference Admin folder variable within function
	     global $adminfolder;

Line 53 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'manage-pages');
Original: 	Redirect::page('admin', 'manage-pages');

Line 83- Reference Admin folder variable
               global $adminfolder;

Line 88 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'manage-pages');
Original: 	Redirect::page('admin', 'manage-pages');
2016-10-25 05:21:30 -06:00
Kim Keown
218d461ac9 Revision to edit-page.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 15- Reference Admin folder variable within function
	     global $adminfolder;

Line 33 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'edit-page/'.$args['slug']);
Original: 	Redirect::page('admin', 'edit-page/'.$args['slug']);

Line 45- Reference Admin folder variable within function
	     global $adminfolder;

Line 53 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'manage-pages');
Original: 	Redirect::page('admin', 'manage-pages');

Line 83- Reference Admin folder variable within function
               global $adminfolder;

Line 88 - Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'manage-pages');
Original: 	Redirect::page('admin', 'manage-pages');
2016-10-25 05:20:05 -06:00
Kim Keown
c29ee5b685 Revise configure-plugin.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 9 - Replace Admin string with folder variable:
	        Redirect::page($adminfolder, 'dashboard');
Original: 	Redirect::page('admin', 'dashboard');

Line 31 - Replace Admin string with folder variable:
	        Redirect::page($adminfolder, 'plugins');
Original: 	Redirect::page('admin', 'plugins');

Line 36- Replace Admin string with folder variable:
	        Redirect::page($adminfolder, 'plugins');
Original: 	Redirect::page('admin', 'plugins');
2016-10-25 05:08:43 -06:00
Kim Keown
3f7504660e Revision add-user.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 3- Admin folder variable
	     global $adminfolder;

Line 11 - Replace Admin string with folder variable:
	        Redirect::page($adminfolder, 'dashboard');
Original: 	Redirect::page('admin', 'dashboard');


Line 81- Replace Admin string with folder variable:
		Redirect::page($adminfolder, 'users');
Original: 	Redirect::page('admin', 'users');
2016-10-25 05:02:22 -06:00
Kim Keown
c8bf86d0d0 Revision about.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global $adminfolder variable as necessary and replace relevant 'admin' strings with $adminfolder.
Applies to most of the files in bl-kernel/admin/controllers.

Line 9 - Replace Admin string with folder variable:
              Redirect::page($adminfolder, 'dashboard');
Original: Redirect::page('admin', 'dashboard');
2016-10-25 04:52:32 -06:00
Kim Keown
6e3741d675 Revision dbsite.class.php- Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

Add global variable as necessary and replace 'admin' strings with $adminfolder throughout bl-kernel folder.

Lines 71-75
// Admin folder variable 
global $adminfolder;

// Replace Admin string with folder variable. 
$filters['admin'] = '/'.$adminfolder.'/';

		$filters['admin'] = '/admin/';
2016-10-25 04:41:33 -06:00
Kim Keown
890c10ed39 Revision 99.security.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

99.security.php 

Line 31 - Replace Admin string with folder variable:

		     Redirect::page('admin', 'login');
Replace with  Redirect::page($adminfolder, 'login');
2016-10-25 04:10:16 -06:00
Kim Keown
84a1236419 Revision to init.php - Admin folder rename
Line 46
Kimberly Keown suggested revision: 
Add variable that allows User to rename bl-kernel/admin folder. 
User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 

- bl-kernel/boot/init.php, 2 sections:
	Original	define('PATH_ADMIN',			PATH_KERNEL.'admin'.DS);
Replace with	define('PATH_ADMIN',			PATH_KERNEL.$adminfolder.DS);

	Original	define('HTML_PATH_ADMIN_ROOT',		HTML_PATH_ROOT.'admin/');
Replace with	define('HTML_PATH_ADMIN_ROOT',		HTML_PATH_ROOT.$adminfolder.'/');

	Original	define('HTML_PATH_ADMIN_THEME',		HTML_PATH_ROOT.'bl-kernel/admin/themes/'.$Site->adminTheme().'/');
Replace with	define('HTML_PATH_ADMIN_THEME',		HTML_PATH_ROOT.'bl-kernel/'.$adminfolder.'/themes/'.$Site->adminTheme().'/');


Line 50
// Define Admin folder variable.
$adminfolder = 'admin';

Line 53
// Replace Admin string with folder variable.
define('PATH_ADMIN',			PATH_KERNEL.$adminfolder.DS);

Line 229
// Replace Admin strings with folder variable.
define('HTML_PATH_ADMIN_ROOT',		HTML_PATH_ROOT.$adminfolder.'/');
define('HTML_PATH_ADMIN_THEME',		HTML_PATH_ROOT.'bl-kernel/'.$adminfolder.'/themes/'.$Site->adminTheme().'/');
2016-10-25 04:03:02 -06:00
dignajar
5b5a4e7690 Enable CLi mode on posts 2016-10-24 23:48:26 -03:00
dignajar
af832d4592 API Plugin, bug fixed 2016-10-19 18:03:56 -03:00
dignajar
443e1ab685 Merge branch 'master' of github.com:dignajar/bludit 2016-10-19 16:57:19 -03:00
dignajar
5ff7511863 API Plugin, bug fixed 2016-10-19 16:57:10 -03:00
Diego Najar
f6577ba33e Merge pull request #355 from Joery/master
Language: Improve Dutch translations
2016-10-17 14:51:37 -03:00
Diego Najar
115a7e75b0 Merge pull request #359 from marceloreis/master
Adds support for portuguese (brazilian) to Bludit.
2016-10-17 14:50:55 -03:00
Marcelo Reis
492fab6f16 Adds support for portuguese (brazilian) to Bludit.
I made a translation based on es_AR.json file, adapting some terms to
current brazilian usage.
2016-10-17 13:43:54 -02:00
Joery Zegers
e3739e8eca Merge pull request #1 from Joery/dev
Language: Translate plugins
2016-10-14 16:04:46 +02:00
Joery Zegers
0f236feb7a nl translation: translate plugins 2016-10-14 16:03:28 +02:00
Joery Zegers
363fb44436 nl translation: translate default theme 2016-10-14 16:03:14 +02:00
Joery Zegers
1c97053036 en translation: small typo fix 2016-10-14 16:03:00 +02:00
Joery Zegers
42cebdb40e nl translation: add files for translation 2016-10-14 15:43:20 +02:00
Joery
bb7243da21 nl translation: small fix 2016-10-13 09:13:52 +02:00
dignajar
3079bbbd76 Metadata updated for 1.5.2 2016-10-12 23:03:43 -03:00
dignajar
69184abf02 Bludit v1.5.2 1.5.2 2016-10-11 22:33:52 -03:00
Joery Zegers
d24a18c54d nl translation: improve existing lines 2016-10-11 11:28:25 +02:00
Joery Zegers
0e311141ee nl translation: translate new lines 2016-10-11 11:06:39 +02:00
Joery Zegers
6ca2a78e90 nl translation: spaces -> tabs 2016-10-11 11:00:51 +02:00
Joery Zegers
a6f76918f6 nl translation: add missing lines and equalize file 2016-10-11 10:55:20 +02:00
dignajar
c16dafefad Admin user fields 2016-10-10 22:39:17 -03:00