In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000235 [In-Portal CMS] Optimization task always 2009-08-20 20:34 2010-07-22 15:06
Reporter Dmitry View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.1.0-B1
Status closed Product Version 5.0.0 Target Version 5.1.0
Time EstimateNo estimate
Summary 0000235: Redo "config.php" into PHP format
Description Redo "config.php" into PHP format so it can used / read without the Application.

This is good for security and optimization purposes.

Format:
<?php

$_CONFIG['Database']['DBName'] = 'test';
$_CONFIG['Database']['License'] = 'test2';
Additional Information We should support reading of both formats for at least 2 versions to make sure everyone has correct config format.
Tags No tags attached.
Reference
Change Log Message
Estimate Points 0
Attached Files patch file icon phpized_config_php_file.patch [^] (6,600 bytes) 2010-03-24 08:43 [Show Content]
patch file icon phpized_config_php_file_v2.patch [^] (7,123 bytes) 2010-04-13 13:20 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0000630closed (5.1.0)alex Move Config.php and Debug.php from root to system/ folder 

-  Notes
User avatar (0001743)
alex (manager)
2010-03-24 08:44

Please also test upgrade, when old format will be converted to new format.
User avatar (0001871)
Dmitry (manager)
2010-04-12 18:17

Tested 3 scenarios:

1. Clean 5.1.0 installation - PASSED

2. Re-install with OLD type of file (converted to new) - PASSED

3. Upgrade from 5.0.x (and pre-5.0.x) to 5.1.0 - FAILED

config.php did not get converted to the new format, but upgrade and site still worked.

I think we should converting to a new format BEFORE the time of AFTER the SQLs while config.php is still writable?


DA.
User avatar (0001881)
alex (manager)
2010-04-13 13:20

Fixed, please test.
User avatar (0001882)
Dmitry (manager)
2010-04-13 13:48

Tested Good!
User avatar (0001912)
alex (manager)
2010-04-24 15:33

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000235: Redo "config.php" into PHP format
User avatar (0002564)
alex (manager)
2010-07-22 15:06

Closing, since 5.1.0 release has been released.

- Related Changesets
In-Portal CMS: 5.1.x r13393
Timestamp: 2010-04-24 15:33:58
Author: alex
Details ] Diff ]
Fixes 0000235: Redo "config.php" into PHP format
mod - /in-portal/branches/5.1.x/core/install/install_toolkit.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/install/upgrades.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/globals.php Diff ] File ]
mod - /in-portal/branches/5.1.x/tools/fix_perms.sh Diff ] File ]

- Issue History
Date Modified Username Field Change
2010-07-22 15:06 alex Note Added: 0002564
2010-07-22 15:06 alex Status resolved => closed
2010-04-24 15:33 alex Note Added: 0001912
2010-04-24 15:33 alex Status reviewed and tested => resolved
2010-04-24 15:33 alex Fixed in Version => 5.1.0-B1
2010-04-24 15:33 alex Resolution open => fixed
2010-04-24 15:33 alex Assigned To !COMMUNITY => alex
2010-04-24 15:33 alex Changeset attached 5.1.x r13393
2010-04-13 13:48 Dmitry Note Added: 0001882
2010-04-13 13:48 Dmitry Status needs testing => reviewed and tested
2010-04-13 13:20 alex Note Added: 0001881
2010-04-13 13:20 alex Assigned To alex => !COMMUNITY
2010-04-13 13:20 alex Status needs work => needs testing
2010-04-13 13:20 alex File Added: phpized_config_php_file_v2.patch
2010-04-12 18:17 Dmitry Note Added: 0001871
2010-04-12 18:17 Dmitry Assigned To !COMMUNITY => alex
2010-04-12 18:17 Dmitry Status needs testing => needs work
2010-03-24 08:44 alex Time Estimate Removed 3 =>
2010-03-24 08:44 alex Note Added: 0001743
2010-03-24 08:44 alex Assigned To alex => !COMMUNITY
2010-03-24 08:44 alex Developer => alex
2010-03-24 08:44 alex Status needs work => needs testing
2010-03-24 08:43 alex File Added: phpized_config_php_file.patch
2010-03-24 06:23 alex Description Updated View Revisions
2010-03-24 05:17 alex Description Updated View Revisions
2010-03-19 11:30 Dmitry Relationship added related to 0000630
2010-01-12 11:06 alex Time Estimate Added 3
2010-01-12 11:01 alex Status active => needs work
2010-01-12 11:01 alex Additional Information Updated View Revisions
2009-10-06 14:25 alex Type bug report => task
2009-10-03 07:54 administrator Status reviewed and tested => active
2009-08-20 20:34 Dmitry New Issue
2009-08-20 20:34 Dmitry Status active => reviewed and tested
2009-08-20 20:34 Dmitry Assigned To => alex



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker