Last active
October 17, 2016 18:33
-
-
Save pH-7/af05df024ff5307412c6d4ee04f0b263 to your computer and use it in GitHub Desktop.
Script to update pH7CMS from 1.4.2 to 2.0.4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
YOUR PERSONAL CONSTANTS ARE BELOW | |
... | |
... | |
... | |
*/ | |
// Add it in the end of the file | |
define('PH7_DOMAIN', $sDomain); // URL domain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- Author: Pierre-Henry Soria <[email protected]> | |
-- Copyright: (c) 2016, Pierre-Henry Soria. All Rights Reserved. | |
-- License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. | |
-- | |
--- Replace 'PH7_' by your prefix set in "~/_protected/app/configs/config.ini" [database] prefix var | |
INSERT INTO PH7_Settings (`name`, value, `desc`, `group`) VALUES | |
('nudityFilter', 0, '1 = enable | 0 = disable', 'moderation'), | |
('googleApiKey', '', 'Google Maps API key https://developers.google.com/maps/documentation/javascript/get-api-key', 'api'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment