In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
630 [In-Portal CMS] Other feature request always 2010-03-19 11:29 2010-07-22 15:06
Dmitry  
alex  
normal  
closed  
fixed  
 
none 5.1.0-B1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/20b312ccdd24b724
0
0000630: Move Config.php and Debug.php from root to system/ folder
Move Config.php and Debug.php from root to system/ folder
related to 0000235closed  (5.1.0)alex Redo "config.php" into PHP format 
patch move_config_to_writable_folder.patch (9,011) 2010-04-13 06:45
http://tracker.in-portal.org/file_download.php?file_id=463&type=bug
Issue History
2010-07-22 15:06 alex Note Added: 0002565
2010-07-22 15:06 alex Status resolved => closed
2010-04-25 07:15 alex Changeset attached 5.1.x r13397
2010-04-24 15:21 alex Note Added: 0001911
2010-04-24 15:21 alex Status reviewed and tested => resolved
2010-04-24 15:21 alex Fixed in Version => 5.1.0-B1
2010-04-24 15:21 alex Resolution open => fixed
2010-04-24 15:21 alex Assigned To !COMMUNITY => alex
2010-04-24 15:21 alex Changeset attached 5.1.x r13392
2010-04-13 13:50 Dmitry Note Added: 0001884
2010-04-13 13:49 Dmitry Note Added: 0001883
2010-04-13 13:49 Dmitry Status needs testing => reviewed and tested
2010-04-13 06:45 alex Assigned To alex => !COMMUNITY
2010-04-13 06:45 alex Developer => alex
2010-04-13 06:45 alex Status needs work => needs testing
2010-04-13 06:45 alex File Added: move_config_to_writable_folder.patch
2010-04-12 18:17 Dmitry Note Edited: 0001869 bug_revision_view_page.php?bugnote_id=0001869#r431
2010-04-12 17:25 Dmitry Note Edited: 0001869 bug_revision_view_page.php?bugnote_id=0001869#r430
2010-04-12 16:24 Dmitry Note Added: 0001869
2010-04-12 16:24 Dmitry Assigned To Dmitry => alex
2010-04-12 16:24 Dmitry Status needs feedback => needs work
2010-04-12 14:24 alex Note Added: 0001864
2010-04-12 14:24 alex Assigned To => Dmitry
2010-04-12 14:24 alex Status active => needs feedback
2010-03-19 11:30 Dmitry Relationship added related to 0000235
2010-03-19 11:29 Dmitry New Issue
2010-03-19 11:29 Dmitry Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/20b312ccdd24b724

Notes
(0001864)
alex   
2010-04-12 14:24   
Here one problem with moving.

We want to move "config.php" from top folder to "/system" folder (or system's only writable folder). That only writable folder is configured inside config.php itself.

So at the end we want to open config.php file, but to locate it we need data from that file.

What should we do.
(0001869)
Dmitry   
2010-04-12 16:24   
(edited on: 2010-04-12 18:17)
Make sure to look at 0000235 first!


Answer to your question and other comments:

1. We should use "system/" folder as default path for Config.php and Debug.php. Make sure to adjust all installation checks for permissions accordingly.

2. "WritablePath" path in Config.php should remain used as is for all places as now (no changes).

3. Adjust main .htaccess in the root - remove reference to config.php and debug.php from there.


Thanks.

(0001883)
Dmitry   
2010-04-13 13:49   
Tested good, but had to adjust patch " move_config_to_writable_folder.patch" to so core/kernel/globals.php is matched and updated when tested with Related patch.
(0001884)
Dmitry   
2010-04-13 13:50   
During the commit, please UPDATE SVN Ignore for System to have config.php and debug.php there.
(0001911)
alex   
2010-04-24 15:21   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000630: Move Config.php and Debug.php from root to system/ folder
(0002565)
alex   
2010-07-22 15:06   
Closing, since 5.1.0 release has been released.