
Remove lingering php4 compatibility
Reported by dleffler | July 14th, 2011 @ 06:01 PM | in Release Candidate 1 (closed)
PHP4 compatability is still shomewhat patched in as a leftover
from the 1.0 codeline. Exp 2.0 requires PHP v5.2.1 or greater to
run.
* Remove/comment out the compat.php inclusion and eventually the
compat/ folder * move 'is_really_writable' function to expUtil
since it's needed for windows based servers
Comments and changes to this ticket
-
dleffler July 15th, 2011 @ 12:45 PM
- Title changed from Remove lingering php4 compatability to Remove lingering php4 compatibility
PHP4 compatability is still shomewhat patched in as a leftover from the 1.0 codeline. However, Exp 2.0 requires PHP v5.2.1 or greater to run.
- Remove/comment out the compat.php inclusion and eventually the compat/ folder
- move 'is_really_writable' function to expUtil as' reallyWriteable' since it's needed to deal with windows based web servers
-
expNinja July 15th, 2011 @ 10:52 PM
(from [a5ca193687a7401c08b206d4f49e5412ab040699]) commented out compat.php which prevents loading the compat/ files [#231] https://github.com/exponentcms/exponent-cms/commit/a5ca193687a7401c...
-
expNinja July 15th, 2011 @ 10:52 PM
(from [dbc64775dbca9ef99fe47842ab7c0ad8e6ae3144]) Moved 'is_really_writeable' into expUtil [#231] https://github.com/exponentcms/exponent-cms/commit/dbc64775dbca9ef9...
-
dleffler July 15th, 2011 @ 10:54 PM
At this point, the php4 compatibility layer has been removed. If no problems arise, we'll delete compat.php and the compat/ folder
-
dleffler July 16th, 2011 @ 12:24 AM
At this point, if nothing seems to be broken.
- I'll need to write an upgrade script for rc1 that deletes exponent_common.php, exponent_variables.php, exponent_setup.php (probably exponent_constants2.php), compat.php, the compat/ folder, captcha.php, & captcha_why.php since they've all become obsolete and are no longer referenced. Though their remaining in the folder does no harm.
- Will likely want to delete the deps.php and exponent_compt.php files since they are derelicts from 1.0.
-
expNinja July 25th, 2011 @ 11:39 PM
- Milestone set to Release Candidate 1
- State changed from open to resolved
- Milestone order changed from 65 to 0
(from [422277c45e00ffde7f0a850dc527b18b48edfe24]) Deletes the 'compat' folder and files which were a php4 glue in 1.0 [#231 state:resolved milestone:'Release Candidate 1'] https://github.com/exponentcms/exponent-cms/commit/422277c45e00ffde...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS