3 Commits

Author SHA1 Message Date
Kim Keown
bea7261e14 Revise settings.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 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']);
2016-10-27 09:36:20 -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
dignajar
e7890f4a71 changes on directories names 2016-01-20 21:29:01 -03:00