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 a function, pages appear to 'function' 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 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 56 - Replace Admin string with folder variable:
Redirect::page($adminfolder, $layout['controller']);
Original: Redirect::page('admin', $layout['controller']);
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 a function, the pages appear to 'function' 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 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 56 - Replace Admin string with folder variable:
Redirect::page($adminfolder, $layout['controller']);
Original: Redirect::page('admin', $layout['controller']);
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 a function, the pages appear to 'function' 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 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 54 - Replace Admin string with folder variable:
Redirect::page($adminfolder, $layout['controller']);
Original: Redirect::page('admin', $layout['controller']);
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 114 - Replace Admin string with folder variable:
Redirect::page($adminfolder, 'users');
Original: Redirect::page('admin', 'users');
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 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 88 - Replace Admin string with folder variable:
Redirect::page($adminfolder, 'manage-posts');
Original: Redirect::page('admin', 'manage-pages');
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');
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');
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');
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')
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');
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');
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']);
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']);
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']);
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']);
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');
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');