Update of /cvsroot/easymod/easymod2/mods/easymod/includes
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv20896/includes
Modified Files:
admin_easymod.php.txt
Added Files:
htaccess.txt
Log Message:
- MODs can't edit files with 'config' in them. Makes it so can't edit config.php
- Attempt to move a .htaccess file into place so that you can't browse the mods folder after installing EasyMOD
- Removed the EasyMOD version check on install.
Index: admin_easymod.php.txt
===================================================================
RCS file: /cvsroot/easymod/easymod2/mods/easymod/includes/admin_easymod.php.txt,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** admin_easymod.php.txt 9 Feb 2007 00:49:26 -0000 1.50
--- admin_easymod.php.txt 22 Feb 2007 03:32:20 -0000 1.51
***************
*** 3077,3084 ****
$mod_description = '';
$mod_version = '';
! $compliant = false;
// get the properties of the MOD so we can display them nicely
! get_mod_properties($install_path . '/' . $install_file, $mod_title, $mod_author_handle, $mod_author_email, $mod_author_name, $mod_author_url, $mod_description, $mod_version, $compliant);
$mod_themes = get_themes();
--- 3077,3084 ----
$mod_description = '';
$mod_version = '';
! $compliant = $modx_mod = false;
// get the properties of the MOD so we can display them nicely
! get_mod_properties($install_path . '/' . $install_file, $mod_title, $mod_author_handle, $mod_author_email, $mod_author_name, $mod_author_url, $mod_description, $mod_version, $compliant, $modx_mod);
$mod_themes = get_themes();
***************
*** 3745,3750 ****
$mod_description = '';
$mod_version = '';
! $compliant = false;
! get_mod_properties($install_path . '/' . $install_file, $mod_title, $mod_author_handle, $mod_author_email, $mod_author_name, $mod_author_url, $mod_description, $mod_version, $compliant);
$template->assign_vars(array(
--- 3745,3750 ----
$mod_description = '';
$mod_version = '';
! $compliant = $modx_mod = false;
! get_mod_properties($install_path . '/' . $install_file, $mod_title, $mod_author_handle, $mod_author_email, $mod_author_name, $mod_author_url, $mod_description, $mod_version, $compliant, $modx_mod);
$template->assign_vars(array(
--- NEW FILE: htaccess.txt ---
order deny,allow
deny from all
|