PageRenderTime 1367ms queryTime 80ms sortTime 3ms getByIdsTime 1138ms findMatchingLines 105ms

50+ results for 'The base configurations of the WordPress' (1367 ms)

Not the results you expected?
install-demos.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 72 lines
                    
16	<div class="updated error importer-notice importer-notice-1" style="display: none;">
                    
17		<p><strong><?php echo __( "We're sorry but the demo data could not import. It is most likely due to low PHP configurations on your server. There are two possible solutions.", 'Avada' ); ?></strong></p>
                    
18
                    
19		<p><strong><?php _e( 'Solution 1:', 'Avada' ); ?></strong> <?php _e( 'Import the demo using alternate method.', 'Avada' ); ?><a href="https://theme-fusion.com/avada-doc/demo-content-info/alternate-demo-method/" class="button-primary" target="_blank" style="margin-left: 10px;"><?php _e( 'Alternate Method', 'Avada' ); ?></a></p>
                    
20		<p><strong><?php _e( 'Solution 2:', 'Avada' ); ?></strong> <?php echo sprintf( __( 'Fix the PHP configurations in the System Status that are reported in <strong style="color: red;">RED</strong>, then use %s, then reimport.', 'Avada' ), '<a href="' . admin_url() . 'plugin-install.php?tab=plugin-information&amp;plugin=wordpress-reset&amp;TB_iframe=true&amp;width=830&amp;height=472' . '">Reset WordPress Plugin</a>' ); ?><a href="<?php echo admin_url( 'admin.php?page=avada-system-status' ); ?>" class="button-primary" target="_blank" style="margin-left: 10px;"><?php _e( 'System Status', 'Avada' ); ?></a></p>
                    
21	</div>
                    
25	<div class="updated error importer-notice importer-notice-3" style="display: none;">
                    
26		<p><strong><?php echo __( "We're sorry but the demo data could not import. It is most likely due to low PHP configurations on your server. There are two possible solutions.", 'Avada' ); ?></strong></p>
                    
27
                    
28		<p><strong><?php _e( 'Solution 1:', 'Avada' ); ?></strong> <?php _e( 'Import the demo using alternate method.', 'Avada' ); ?><a href="https://theme-fusion.com/avada-doc/demo-content-info/alternate-demo-method/" class="button-primary" target="_blank" style="margin-left: 10px;"><?php _e( 'Alternate Method', 'Avada' ); ?></a></p>
                    
29		<p><strong><?php _e( 'Solution 2:', 'Avada' ); ?></strong> <?php echo sprintf( __( 'Fix the PHP configurations in the System Status that are reported in <strong style="color: red;">RED</strong>, then use %s, then reimport.', 'Avada' ), '<a href="' . admin_url() . 'plugin-install.php?tab=plugin-information&amp;plugin=wordpress-reset&amp;TB_iframe=true&amp;width=830&amp;height=472' . '">Reset WordPress Plugin</a>' ); ?><a href="<?php echo admin_url( 'admin.php?page=avada-system-status' ); ?>" class="button-primary" target="_blank" style="margin-left: 10px;"><?php _e( 'System Status', 'Avada' ); ?></a></p>
                    
30	</div>
                    
43	 <div class="avada-important-notice">
                    
44		<p class="about-description"><?php echo __( "Installing a demo provides pages, posts, images, theme options, widgets, sliders and more. IMPORTANT: The included plugins need to be installed and activated before you install a demo. Please check the 'System Status' tab to ensure your server meets all requirements for a successful import. Settings that need attention will be listed in red.", "Avada" ); ?> <?php printf( '<a href="%s" target="_blank">%s</a>', $theme_fusion_url . 'avada-doc/demo-content-info/import-xml-file/', __( "View more info here.", "Avada" ) ); ?></p>
                    
45	</div>
                    
                
README.md https://gitlab.com/FunFR/foreman-vagrant | Markdown | 113 lines
                    
3
                    
4The ```centos7``` branch was created 8/20/2015 to reflect changes to original blog post in the ```master``` branch. Changes were required to fix incapability issues with the latest versions of Puppet and Foreman. For details, see [Puppet Compatibility](http://theforeman.org/manuals/1.9/index.html#3.1.2PuppetCompatibility). Additionally, the version of CentOS on all VMs was updated from 6.6 to 7.1 and the version of Foreman was updated from 1.7 to 1.9.
                    
5
                    
8#### Vagrant Plug-ins
                    
9This project requires the Vagrant vagrant-hostmanager plugin to be installed. The Vagrantfile uses the vagrant-hostmanager plugin to automatically ensure all DNS entries are consistent between guests as well as the host, in the `/etc/hosts` file. An example of the modified `/etc/hosts` file is shown below.
                    
10
                    
28The `Vagrantfile` retrieves multiple VM configurations from a separate `nodes.json` JSON file. All VM configuration is
                    
29contained in that JSON file. You can add additional VMs to the JSON file, following the existing pattern. The
                    
30`Vagrantfile` will loop through all nodes (VMs) in the `nodes.json` file and create the VMs. You can easily swap
                    
39
                    
40Important, when the provisioning is complete, note the output from Vagrant. The output provides the `admin` login password and URL for the Foreman console. Example output below.
                    
41```text
                    
48```
                    
49Log into Foreman's browser-based console using the information provided in the output from Vagrant (example above). Change the `admin` account password, and/or set-up your own `admin` account(s).
                    
50
                    
                
jquery.beautyOfCode.js https://bitbucket.org/aagraz/vrtoolkit.git | JavaScript | 247 lines
                    
17        autoLoad: true,
                    
18        // the base url to alex' hosted sources
                    
19        // http://alexgorbatchev.com/wiki/SyntaxHighlighter:Hosting
                    
20        baseUrl: 'http://alexgorbatchev.com/pub/sh/2.1.364/',
                    
21        // the baseurl for the hosted scripts
                    
22        scripts: 'scripts/',
                    
22        scripts: 'scripts/',
                    
23        // the baseurl for the hosted styles
                    
24        styles: 'styles/',
                    
24        styles: 'styles/',
                    
25        // themes from http://alexgorbatchev.com/wiki/SyntaxHighlighter:Themes
                    
26        theme: 'Default',
                    
52                jQuery.beautyOfCode.utils.loadCss(settings.baseUrl + settings.styles + 'shCore.css');
                    
53                jQuery.beautyOfCode.utils.loadCss(settings.baseUrl + settings.styles + 'shTheme' + settings.theme + '.css', 'shTheme');
                    
54
                    
                
wp-config-sample.php https://github.com/terry69/fluxflex_wordpress.git | PHP | 93 lines
                    
2/**
                    
3 * The base configurations of the WordPress.
                    
4 *
                    
12 *
                    
13 * @package WordPress
                    
14 */
                    
22// ** MySQL 設定 - こちらの情報はホスティング先から入手してください。 ** //
                    
23/** WordPress のためのデータベース名 */
                    
24define('DB_NAME', 'database_name_here');
                    
44 * それぞれを異なるユニーク (一意) な文字列に変更してください。
                    
45 * {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org の秘密鍵サービス} で自動生成することもできます。
                    
46 * 後でいつでも変更して、既存のすべての cookie を無効にできます。これにより、すべてのユーザーを強制的に再ログインさせることになります。
                    
87
                    
88/** Absolute path to the WordPress directory. */
                    
89if ( !defined('ABSPATH') )
                    
                
README.md https://gitlab.com/scottmetoyer/php-sandbox | Markdown | 282 lines
                    
29
                    
30> Are you new to Vagrant? If you're new to Vagrant, check out our [getting started guide with Vagrant][2] article, our [Vagrant Share article][10], and our article on [Laravel’s Vagrant stack Homestead][11]. If you follow the first tutorial, you can just learn the Vagrant commands but use the Scotch Box instead.
                    
31
                    
207
                    
208You may want to change some of the out-of-the-box configurations for
                    
209the various parts that come with Scotch Box.  To do so, `vagrant ssh`
                    
229
                    
230and then create `bootstrap.sh` with the following content in the same
                    
231directory as the Vagrantfile:
                    
257
                    
258Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
                    
259
                    
261
                    
262THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
                    
263
                    
                
load.php https://bitbucket.org/jstroschein/wordpress-3.5.1-clean.git | PHP | 761 lines
                    
65
                    
66			// Some IIS + PHP configurations puts the script-name in the path-info (No need to append it twice)
                    
67			if ( isset( $_SERVER['PATH_INFO'] ) ) {
                    
95/**
                    
96 * Check for the required PHP version, and the MySQL extension or a database drop-in.
                    
97 *
                    
219 * @param int $display Use '0' or null to not echo anything and 1 to echo the total time
                    
220 * @param int $precision The amount of digits from the right of the decimal to display. Default is 3.
                    
221 * @return float The "second.microsecond" finished time calculation
                    
318 *
                    
319 * This function is used to load the database class file either at runtime or by
                    
320 * wp-admin/setup-config.php. We must globalize $wpdb to ensure that it is
                    
339/**
                    
340 * Sets the database table prefix and the format specifiers for database table columns.
                    
341 *
                    
                
load.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 586 lines
                    
63
                    
64			// Some IIS + PHP configurations puts the script-name in the path-info (No need to append it twice)
                    
65			if ( isset( $_SERVER['PATH_INFO'] ) ) {
                    
93/**
                    
94 * Check for the required PHP version, and the MySQL extension or a database drop-in.
                    
95 *
                    
130 * Checks for a file in the WordPress root directory named ".maintenance".
                    
131 * This file will contain the variable $upgrading, set to the time the file
                    
132 * was created. If the file was created less than 10 minutes ago, WordPress
                    
212 * @param int $display Use '0' or null to not echo anything and 1 to echo the total time
                    
213 * @param int $precision The amount of digits from the right of the decimal to display. Default is 3.
                    
214 * @return float The "second.microsecond" finished time calculation
                    
308/**
                    
309 * Sets the database table prefix and the format specifiers for database table columns.
                    
310 *
                    
                
wp-config.php https://github.com/lixinyang/weixiao001.com.git | PHP | 90 lines
                    
2/**
                    
3 * The base configurations of the WordPress.
                    
4 *
                    
4 *
                    
5 * This file has the following configurations: MySQL settings, Table Prefix,
                    
6 * Secret Keys, WordPress Language, and ABSPATH. You can find more information
                    
17// ** MySQL settings - You can get this info from your web host ** //
                    
18/** The name of the database for WordPress */
                    
19define('DB_NAME', 'weixiao');
                    
29
                    
30/** Database Charset to use in creating database tables. */
                    
31define('DB_CHARSET', 'utf8');
                    
39 * Change these to different unique phrases!
                    
40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
                    
41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
                    
                
load.php https://gitlab.com/VTTE/sitios-vtte | PHP | 1570 lines
                    
82
                    
83			// Some IIS + PHP configurations put the script-name in the path-info (no need to append it twice).
                    
84			if ( isset( $_SERVER['PATH_INFO'] ) ) {
                    
175 * Checks for a file in the WordPress root directory named ".maintenance".
                    
176 * This file will contain the variable $upgrading, set to the time the file
                    
177 * was created. If the file was created less than 10 minutes ago, WordPress
                    
261 *                            1|true for echo. Default 0|false.
                    
262 * @param int      $precision The number of digits from the right of the decimal to display.
                    
263 *                            Default 3.
                    
402/**
                    
403 * Load the database class file and instantiate the `$wpdb` global.
                    
404 *
                    
429/**
                    
430 * Set the database table prefix and the format specifiers for database
                    
431 * table columns.
                    
                
index.md https://gitlab.com/artofhuman/gitlab-ce | Markdown | 526 lines
                    
34By the end, we'll have the core of a [playable game](http://gitlab-game-demo.s3-website-us-east-1.amazonaws.com/)
                    
35that's tested and deployed on every push to the `master` branch of the [codebase](https://gitlab.com/blitzgren/gitlab-game-demo).
                    
36This will also provide
                    
264We need to update our build job to ensure tests get run as well. Add `gulp build-test`
                    
265to the end of the `script` array for the existing `build` job. Once these commands run,
                    
266we know we will need to access everything in the `built` folder, given by GitLab CI/CD's `artifacts`.
                    
267We'll also cache `node_modules` to avoid having to do a full re-pull of those dependencies:
                    
268just pack them up in the cache. Here is the full `build` job:
                    
269
                    
289For testing locally, we simply run `gulp run-tests`, which requires gulp to be installed
                    
290globally like in the `build` job. We pull `node_modules` from the cache, so the `npm i`
                    
291command won't have to do much. In preparation for deployment, we know we will still need
                    
360
                    
361You can confirm that the tests passed by clicking on the `test` job to enter the full build logs.
                    
362Scroll to the bottom and observe, in all its passing glory:
                    
                
class-http.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 1490 lines
                    
32	 *
                    
33	 * The body and headers are part of the arguments. The 'body' argument is for the body and will
                    
34	 * accept either a string or an array. The 'headers' argument should be an array, but a string
                    
37	 *
                    
38	 * The only URI that are supported in the HTTP Transport implementation are the HTTP and HTTPS
                    
39	 * protocols.
                    
51	 * '1.1' and should be a string. The 'user-agent' option is the user-agent and is used to
                    
52	 * replace the default user-agent, which is 'WordPress/WP_Version', where WP_Version is the
                    
53	 * value from $wp_version.
                    
132		// If we are streaming to a file but no filename was given drop it in the WP temp dir
                    
133		// and pick its name using the basename of the $url
                    
134		if ( $r['stream']  && empty( $r['filename'] ) )
                    
220	 *
                    
221	 * @return string|bool Class name for the first transport that claims to support the request. False if no transport claims to support the request.
                    
222	 */
                    
                
settings.php https://gitlab.com/Blueprint-Marketing/google-analytics-for-wordpress | PHP | 232 lines
                    
110		echo Yoast_GA_Admin_Form::input( 'checkbox', __( 'Track outbound click and downloads', 'google-analytics-for-wordpress' ), 'track_outbound', null, __( 'Clicks and downloads will be tracked as events, you can find these under Content &#xBB; Event Tracking in your Google Analytics reports.', 'google-analytics-for-wordpress' ) );
                    
111		echo Yoast_GA_Admin_Form::input( 'checkbox', __( 'Allow tracking of anonymous data', 'google-analytics-for-wordpress' ), 'anonymous_data', null, __( 'By allowing us to track anonymous data we can better help you, because we know with which WordPress configurations, themes and plugins we should test. No personal data will be submitted.', 'google-analytics-for-wordpress' ) );
                    
112		/* translators: %s is a link to the Google Analytics help page on Google.com for _anonymizeIp */
                    
112		/* translators: %s is a link to the Google Analytics help page on Google.com for _anonymizeIp */
                    
113		echo Yoast_GA_Admin_Form::input( 'checkbox', __( 'Anonymize IPs', 'google-analytics-for-wordpress' ), 'anonymize_ips', null, sprintf( __( 'This adds %1$s, telling Google Analytics to anonymize the information sent by the tracker objects by removing the last octet of the IP address prior to its storage.', 'google-analytics-for-wordpress' ), '<a href="https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApi_gat?csw=1#_gat._anonymizeIp" target="_blank"><code>_anonymizeIp</code></a>' ) );
                    
114		echo Yoast_GA_Admin_Form::select( __( 'Ignore users', 'google-analytics-for-wordpress' ), 'ignore_users', $yoast_ga_admin->get_userroles(), __( 'Users of the role you select will be ignored, so if you select Editor, all Editors will be ignored.', 'google-analytics-for-wordpress' ), true );
                    
114		echo Yoast_GA_Admin_Form::select( __( 'Ignore users', 'google-analytics-for-wordpress' ), 'ignore_users', $yoast_ga_admin->get_userroles(), __( 'Users of the role you select will be ignored, so if you select Editor, all Editors will be ignored.', 'google-analytics-for-wordpress' ), true );
                    
115		echo Yoast_GA_Admin_Form::input( 'checkbox', __( 'Disable analytics dashboard', 'google-analytics-for-wordpress' ), 'dashboards_disabled', null, __( 'This will completely disable the dashboard and stop the plugin from fetching the latest analytics data.', 'google-analytics-for-wordpress' ) );
                    
116
                    
146			'<span id="yoast-ga-displayfeatures-warning">' . __( 'Note that usage of this function is affected by privacy and cookie laws around the world. Be sure to follow the laws that affect your target audience.', 'google-analytics-for-wordpress' ) . '</span>',
                    
147			/* translators: 1: contains the link to a knowledge base article, 2: contains the the closing tag for both links, 3: contains a link to Google documentation about remarketing. */
                    
148			sprintf(
                    
176		echo Yoast_GA_Admin_Form::input( 'text', __( 'Set path for internal links to track as outbound links', 'google-analytics-for-wordpress' ), 'track_internal_as_outbound', null, sprintf( __( 'If you want to track all internal links that begin with %1$s, enter %1$s in the box above. If you have multiple prefixes you can separate them with comma\'s: %2$s', 'google-analytics-for-wordpress' ), '<code>/out/</code>', '<code>/out/,/recommends/</code>' ) );
                    
177		echo Yoast_GA_Admin_Form::input( 'text', __( 'Label for those links', 'google-analytics-for-wordpress' ), 'track_internal_as_label', null, 'The label to use for these links, this will be added to where the click came from, so if the label is "aff", the label for a click from the content of an article becomes "outbound-article-aff".' );
                    
178
                    
                
load.php https://gitlab.com/webkod3r/tripolis | PHP | 897 lines
                    
81
                    
82			// Some IIS + PHP configurations puts the script-name in the path-info (No need to append it twice)
                    
83			if ( isset( $_SERVER['PATH_INFO'] ) ) {
                    
354/**
                    
355 * Load the database class file and instantiate the `$wpdb` global.
                    
356 *
                    
358 *
                    
359 * @global wpdb $wpdb The WordPress database class.
                    
360 */
                    
374/**
                    
375 * Set the database table prefix and the format specifiers for database
                    
376 * table columns.
                    
382 *
                    
383 * @global wpdb   $wpdb         The WordPress database class.
                    
384 * @global string $table_prefix The database table prefix.
                    
                
class-http.php https://gitlab.com/webkod3r/tripolis | PHP | 921 lines
                    
114	 *                                             Default false.
                    
115	 *     @type bool         $blocking            Whether the calling code requires the result of the request.
                    
116	 *                                             If set to false, the request will be sent to the remote server,
                    
123	 *     @type string|array $body                Body to send with the request. Default null.
                    
124	 *     @type bool         $compress            Whether to compress the $body when sending the request.
                    
125	 *                                             Default false.
                    
133	 *                                             given, it will be droped it in the WP temp dir and its name will
                    
134	 *                                             be set using the basename of the URL. Default false.
                    
135	 *     @type string       $filename            Filename of the file to write to when streaming. $stream must be
                    
277		 * If we are streaming to a file but no filename was given drop it in the WP temp dir
                    
278		 * and pick its name using the basename of the $url.
                    
279		 */
                    
370	 *
                    
371	 * @return string|false Class name for the first transport that claims to support the request. False if no transport claims to support the request.
                    
372	 */
                    
                
wp-config.php https://gitlab.com/relacilia/cakra | PHP | 80 lines
                    
2/**
                    
3 * The base configurations of the WordPress.
                    
4 *
                    
4 *
                    
5 * This file has the following configurations: MySQL settings, Table Prefix,
                    
6 * Secret Keys, and ABSPATH. You can find more information by visiting
                    
17// ** MySQL settings - You can get this info from your web host ** //
                    
18/** The name of the database for WordPress */
                    
19define('DB_NAME', 'cakraapp_blogcakra');
                    
29
                    
30/** Database Charset to use in creating database tables. */
                    
31define('DB_CHARSET', 'utf8');
                    
39 * Change these to different unique phrases!
                    
40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
                    
41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
                    
                
whv_actions.php https://github.com/soverc/writehive_wp.git | PHP | 1646 lines
                    
15 * it under the terms of the GNU General Public License as published by
                    
16 * the Free Software Foundation, either version 3 of the License, or
                    
17 * (at your option) any later version.
                    
39	protected $aComments        = null; // Our comments
                    
40	protected $oDatabase        = null;	// Our database object
                    
41	protected $sError           = null;	// Container for the current error
                    
255	 *
                    
256	 * @return boolean based on the success or failure of the removal
                    
257	 */
                    
402		$aPostNameSpace = $this->getPostData()->{$this->getNameSpace()};
                    
403		//if the user just clicks the search page, we have no form post
                    
404		// so no 'whv' in the oPostData, we want to show
                    
424
                    
425			// Set the system error to the
                    
426			// JSON-RPC service error
                    
                
wp-config.php.j2 https://gitlab.com/elena-bo/test | Jinja | 65 lines
                    
2/**
                    
3 * The base configurations of the WordPress.
                    
4 *
                    
4 *
                    
5 * This file has the following configurations: MySQL settings, Table Prefix,
                    
6 * Secret Keys, and ABSPATH. You can find more information by visiting
                    
16// ** MySQL settings - You can get this info from your web host ** //
                    
17/** The name of the database for WordPress */
                    
18define('DB_NAME', '{{wp_db_name}}');
                    
24define('DB_HOST', '{{wp_db_host}}');
                    
25/** Database Charset to use in creating database tables. */
                    
26define('DB_CHARSET', '{{wp_db_charset}}');
                    
37 * Change these to different unique phrases!
                    
38 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
                    
39 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
                    
                
help-options.php https://gitlab.com/endomorphosis/falkenstein | PHP | 121 lines
                    
23			'id'       => 	'dir_tab',
                    
24			'content'  => 	'<p>' . __('<b>Force SSL</b>: If your site uses SSL for the admin interface but the WordPress/Site URL points to the non-encrypted front end, select this option to ensure the backup will use the SSL connection.', $this->textdomain) . '</p>' .
                    
25							'<p>' . __('<b>Artificial Delay</b>: Zipping the files is a processor intensive task, some hosting providers will terminate the backup process if it looks like it has hung.  This option will introduce a .25 second delay every 10 seconds to avoid this problem.', $this->textdomain) . '</p>' .
                    
28							'<p>' . __('<b>Create .htaccess/WebConfig File</b>: If you must have your archive path in a web accessible location (for example, perhaps your hosting provider only allows for subdirectories inside your web root), you should make sure your web server configuration blocks access to all files in the archive directory.  These buttons will create .htaccess/Web.Config files that will do this if they do not already exist.', $this->textdomain) . '</p>' .
                    
29							'<p>' . __('<b>Exclude Directories</b>: If you wish to exclude certain directories from the backup you may enter them here.  Several buttons are provided to add commonly selected directories to the list.  Note if your archive directory is in the WordPress directory tree it will automatically be added to the exclusion list when you save the settings.', $this->textdomain) . '</p>'
                    
30			,
                    
53							'<p>' . __('<b>Type</b>: This selects the schedule type, options are Once, Hourly, Daily, Weekly and Monthly.  Note that selecting different schedule types will change the options presented in the schedule field.', $this->textdomain) . '</p>' .
                    
54							'<p>' . __('<b>Schedule - Once</b>: You may select a day of the week OR a day of the month to run the backup on.  You may also select a time.  If both the day of the week and day of the month values have been selected, the day of teh month will take precedence.', $this->textdomain) . '</p>' .
                    
55							'<p>' . __('<b>Schedule - Hourly</b>: You may run an hourly backup on a recurring interval, for example select to run every 6 hours would create a backup file 4 times a day.  You may also select at what time past the hour you wish to run the backup.', $this->textdomain) . '</p>' .
                    
82							'<p>' . __('<b>Password</b>: The password to login to the remote server with.  The password is encrypted before being stored in the database, however if someone gets both database and file access to your server it could be recovered.', $this->textdomain) . '</p>' .
                    
83							'<p>' . __('<b>Remote path</b>: This is the remote path to use to store the backup.', $this->textdomain) . __( "You many use the follow place holders: %m = month (01-12), %d = day (01-31), %Y = year (XXXX), %M = month (Jan...Dec), %F = month (January...December)" ) . '.  ' . __('This path will be created if the protocol supports it during the transfer of the file.', $this->textdomain) . '</p>' .
                    
84							'<p>' . __('<b>Include log file</b>: By default, only the archive log is sent to the remote server, selecting this option will also send the log file.', $this->textdomain) . '</p>' .
                    
113			'id'       => 	'active_tab',
                    
114			'content'  => 	'<p>' . __("<b>Clear active backup status</b>: Only check this if a backup has hung and you can no longer execute backups.  CYAN Backup uses a status file to tell if a backup is running or not, if this file hasn't been deleted after a backup is complete you won't be able to run another backup for 10 minutes.  If you wish to force the deletion of the file check this option and save the settings.  This will force the deletion of the file.", $this->textdomain) . '</p>' .
                    
115							'<p>' . __('<b>Delete temporary files and directories</b>: If a backup has failed it will sometimes leave temporary files and subdirectories behind in the archive directory, this option will delete any file in the archive path that starts with your site directory name but is not a zip/log file.', $this->textdomain) . '</p>'
                    
                
Configure.md https://gitlab.com/nathandunn/Apollo | Markdown | 511 lines
                    
4Apollo includes some basic configuration parameters that are specified in configuration files. The most important
                    
5parameters are the database parameters in order to get Apollo up and running. Other options besides the database
                    
6parameters can be configured via the config files, but note that many parameters can also be configured via the web
                    
144
                    
145To use [one of the others](http://www.ncbi.nlm.nih.gov/Taxonomy/Utils/wprintgc.cgi) set the number in the ```apollo-config.groovy``` file as:
                    
146
                    
198
                    
199Canned comments are configured via the admin panel on the web interface, so they are not currently configured via the
                    
200config files.
                    
233
                    
234When you setup your organism in the web interface, you can then enter the location of the sequence search database for
                    
235BLAT.
                    
412
                    
413There are a variety of different ways to include new CSS into the browser, but the easiest might be the following
                    
414
                    
                
load.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 1029 lines
                    
81
                    
82			// Some IIS + PHP configurations puts the script-name in the path-info (No need to append it twice)
                    
83			if ( isset( $_SERVER['PATH_INFO'] ) ) {
                    
163 * Checks for a file in the WordPress root directory named ".maintenance".
                    
164 * This file will contain the variable $upgrading, set to the time the file
                    
165 * was created. If the file was created less than 10 minutes ago, WordPress
                    
257 *                            1|true for echo. Default 0|false.
                    
258 * @param int      $precision The number of digits from the right of the decimal to display.
                    
259 *                            Default 3.
                    
407/**
                    
408 * Set the database table prefix and the format specifiers for database
                    
409 * table columns.
                    
415 *
                    
416 * @global wpdb   $wpdb         The WordPress database class.
                    
417 * @global string $table_prefix The database table prefix.
                    
                
load.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 828 lines
                    
145 * Checks for a file in the WordPress root directory named ".maintenance".
                    
146 * This file will contain the variable $upgrading, set to the time the file
                    
147 * was created. If the file was created less than 10 minutes ago, WordPress
                    
224 *                            1|true for echo. Default 0|false.
                    
225 * @param int      $precision The number of digits from the right of the decimal to display.
                    
226 *                            Default 3.
                    
335/**
                    
336 * Load the database class file and instantiate the `$wpdb` global.
                    
337 *
                    
339 *
                    
340 * @global wpdb $wpdb The WordPress database class.
                    
341 */
                    
355/**
                    
356 * Set the database table prefix and the format specifiers for database
                    
357 * table columns.
                    
                
web-sites-php-enterprise-wordpress.md https://gitlab.com/yeah568/azure-content | Markdown | 284 lines
                    
96
                    
97* **[WordPress export][export]** - This exports the content of your blog, which can then be imported to a new WordPress site on Azure App Service using the [WordPress importer plugin][import].
                    
98
                    
100
                    
101* **Manual migration** - [Back up your site][wordpressbackup] and [database][wordpressdbbackup], then manually restore it to a web app in Azure App Service and associated MySQL database to migrate highly customized sites and avoid the tedium of manually installing plugins, themes, and other customizations.
                    
102
                    
108
                    
1092. Follow the steps in [Create a WordPress web app in Azure App Service][createwordpress] to create a new WordPress web app. When creating the web app, select **Use an existing MySQL Database** and select the database created in step 1.
                    
110
                    
159
                    
160	3. Update the database to change the domain entries to your new Azure App Service domain. For example, mywordpress.azurewebsites.net. Use the [Search and Replace for WordPress Databases Script][searchandreplace] to safely change all instances.
                    
161
                    
186**Set App Service plan mode, size, and enable scaling** | [Scale a web app in Azure App Service][websitescale]
                    
187**Enable persistent database connections** <p>By default, WordPress does not use persistent database connections, which may cause your connection to the database to become throttled after multiple connections.</p>  | <ol><li><p>Edit the <strong>wp-includes/wp-db.php</strong> file.</p></li><li><p>Find the following line.</p><code>$this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags );</code></li><li><p>Replace the previous line with the following.</p><code>$this->dbh = mysql_pconnect( $this->dbhost, $this->dbuser, $this->dbpassword,  $client_flags ); <br/>if ( false !== $error_reporting ) { /br/>&nbsp;&nbsp;error_reporting( $error_reporting ); <br/>} </code></li><li><p>Find the following line.</p><code>$this->dbh = @mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags ); </code></li><li><p>Replace the above line with the following.</p><code>$this->dbh = @mysql_pconnect( $this->dbhost, $this->dbuser, $this->dbpassword,  $client_flags ); </code></li><li><p>Save the file <strong>wp-includes/wp-db.php</strong> file and redeploy the site.</p></li></ol><div class="wa-note"><span class="wa-icon-bulb"></span><p>These changes may be overwritten when WordPress is updated.</p><p>WordPress defaults to automatic updates, which can be disabled by editing the <strong>wp-config.php</strong> file and adding <code>define ( 'WP_AUTO_UPDATE_CORE', false );</code></p><p>Another way of addressing updates would be to use a WebJob that monitors the <strong>wp-db.php</strong> file and performs the above modifications each time the file is updated. See [Introduction to WebJobs](http://www.hanselman.com/blog/IntroducingWindowsAzureWebJobs.aspx) for more information.</p></div>
                    
188**Improve performance** | <ul><li><p>[Disable the ARR cookie](http://ppe.blogs.msdn.com/b/windowsazure/archive/2013/11/18/disabling-arr-s-instance-affinity-in-windows-azure-web-sites.aspx) - can improve performance when running WordPress on multiple Web Apps instances</p></li><li><p>Enable caching. [Redis cache](http://msdn.microsoft.com/library/azure/dn690470.aspx) can be used with the [Redis object cache WordPress plugin](https://wordpress.org/plugins/redis-object-cache/), or use one of the other caching offerings from the [Azure Store](/gallery/store/)</p></li><li><p>[How to make WordPress faster with Wincache](http://ruslany.net/2010/03/make-wordpress-faster-on-iis-with-wincache-1-1/) - Wincache is enabled by default for Web Apps</p></li><li><p>[Scale a web app in Azure App Service](../app-service-web/web-sites-scale.md) and use [ClearDB High Availability Routing](http://www.cleardb.com/developers/cdbr/introduction) or [MySQL Cluster CGE
                    
                
app-service-web-staged-publishing-realworld-scenarios.md https://gitlab.com/yeah568/azure-content | Markdown | 448 lines
                    
24## Setting up a non-production environment (stage,dev,QA)
                    
25Once you have a production web app up and running, the next step is to create a non-production environment. In order to use deployment slots make sure you are running in the **Standard** or **Premium** App Service plan mode. Deployment slots are actually live web apps with their own hostnames. Web app content and configuration elements can be swapped between two deployment slots, including the production slot. Deploying your application to a deployment slot has the following benefits:
                    
26
                    
46
                    
47Before creating a staging slot, setup your application code to support multiple environments. To support multiple environments in WordPress you need to edit `wp-config.php` on your local development web app add the following code at the beginning of the file. This will allow your application to pick the correct configuration based on the selected environment.
                    
48
                    
174#### Use Relative Paths
                    
175One last thing is to allow the WordPress app to use relative paths. WordPress stores URL information in the database. This makes moving content from one environment to another more difficult as you need to update the database every time you move from local to stage or stage to production environments. To reduce the risk of issues that can be caused with deploying a database every time you deploy from one environment to another use the [Relative Root links  plugin](https://wordpress.org/plugins/root-relative-urls/) which can be installed using WordPress administrator dashboard or download it manually from [here](https://downloads.wordpress.org/plugin/root-relative-urls.zip).
                    
176
                    
195	/**
                    
196	 * The base configurations of the WordPress.
                    
197	 *
                    
257
                    
258Update the Connection strings for your stage deployment slot to point to newly created database, `wordpress-stage-db`. Note that your production web app , `wordpressprodapp` and staging web app `wordpressprodapp-stage` must point to different databases.
                    
259
                    
                
load.php https://github.com/mhoofman/wordpress-heroku.git | PHP | 828 lines
                    
145 * Checks for a file in the WordPress root directory named ".maintenance".
                    
146 * This file will contain the variable $upgrading, set to the time the file
                    
147 * was created. If the file was created less than 10 minutes ago, WordPress
                    
224 *                       1|true for echo. Default 0|false.
                    
225 * @param int $precision The number of digits from the right of the decimal to display.
                    
226 *                       Default 3.
                    
335/**
                    
336 * Load the database class file and instantiate the `$wpdb` global.
                    
337 *
                    
339 *
                    
340 * @global wpdb $wpdb The WordPress database class.
                    
341 */
                    
355/**
                    
356 * Set the database table prefix and the format specifiers for database
                    
357 * table columns.
                    
                
quick-setup.php https://gitlab.com/endomorphosis/falkenstein | PHP | 696 lines
                    
6Plugin URI: http://www.godaddy.com/
                    
7Description: Get your site started in ten minutes by answering some easy questions.  Use our beautiful themes and popular plugin configurations to get your website started quickly.
                    
8Version: 1.03
                    
293		do_action( 'gd_quicksetup_install_theme' );
                    
294		$this->_current_theme_options = ( isset( $result['theme']['options'] ) ? $result['theme']['options'] : array() );
                    
295		$theme_installer_skin = new GD_QuickSetup_Installer_Skin();
                    
295		$theme_installer_skin = new GD_QuickSetup_Installer_Skin();
                    
296		$theme_installer = new GD_QuickSetup_Theme_Upgrader( $theme_installer_skin );
                    
297		$theme_installer->install( $result['theme']['url'] );
                    
297		$theme_installer->install( $result['theme']['url'] );
                    
298		$theme_installer->switch_theme( $result['theme']['stylesheet'] );
                    
299		do_action( 'gd_quicksetup_install_theme_done' );
                    
430		
                    
431		// Save the response as a fake transient so the theme skin (and any other options) can be switched
                    
432		// (deleted after ajax call is done, we don't need it for longer than that)
                    
                
Section_General_Theme.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 116 lines
                    
18	 *
                    
19	 * Note: This is the only required method for a Connector to work
                    
20	 *
                    
20	 *
                    
21	 * @return self The dynamic instance of this Class
                    
22	 */
                    
44				.tribe-events-button.tribe-active:hover {
                    
45					background-color: <%= general_theme.accent_color %>;
                    
46				}
                    
77			'title'       => esc_html__( 'General Theme', 'tribe-events-calendar-pro' ),
                    
78			'description' => esc_html__( 'Global configurations for the styling of The Events Calendar', 'tribe-events-calendar-pro' ),
                    
79		);
                    
84	 *
                    
85	 * @param  WP_Customize_Section $section The WordPress section instance
                    
86	 * @param  WP_Customize_Manager $manager [description]
                    
                
wp-config-sample.php https://gitlab.com/haque.mdmanzurul/wp-harpar-carolyn | PHP | 80 lines
                    
2/**
                    
3 * The base configurations of the WordPress.
                    
4 *
                    
4 *
                    
5 * This file has the following configurations: MySQL settings, Table Prefix,
                    
6 * Secret Keys, WordPress Language, and ABSPATH. You can find more information
                    
17// ** MySQL settings - You can get this info from your web host ** //
                    
18/** The name of the database for WordPress */
                    
19define('DB_NAME', 'database_name_here');
                    
39 * Change these to different unique phrases!
                    
40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
                    
41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
                    
74
                    
75/** Absolute path to the WordPress directory. */
                    
76if ( !defined('ABSPATH') )
                    
                
wc_actions.php https://github.com/soverc/WriteCrowd-WP-Plugin.git | PHP | 1735 lines
                    
15 * it under the terms of the GNU General Public License as published by
                    
16 * the Free Software Foundation, either version 3 of the License, or
                    
17 * (at your option) any later version.
                    
177	 * @param string $sData is a json encoded string of properties
                    
178	 * @return boolean based on the success or failure of the log
                    
179	 */
                    
327	 * @param integer $aid  article ID
                    
328	 * @return boolean based on the success or failure of the removal
                    
329	 */
                    
384			// Try to remove the article
                    
385			// from the WordPress DB
                    
386			try {
                    
394
                    
395				// Set the system error to the
                    
396				// exception error message
                    
                
load.php https://github.com/terry69/fluxflex_wordpress.git | PHP | 653 lines
                    
63
                    
64			// Some IIS + PHP configurations puts the script-name in the path-info (No need to append it twice)
                    
65			if ( isset( $_SERVER['PATH_INFO'] ) ) {
                    
130 * Checks for a file in the WordPress root directory named ".maintenance".
                    
131 * This file will contain the variable $upgrading, set to the time the file
                    
132 * was created. If the file was created less than 10 minutes ago, WordPress
                    
214 * @param int $display Use '0' or null to not echo anything and 1 to echo the total time
                    
215 * @param int $precision The amount of digits from the right of the decimal to display. Default is 3.
                    
216 * @return float The "second.microsecond" finished time calculation
                    
314 *
                    
315 * This function is used to load the database class file either at runtime or by
                    
316 * wp-admin/setup-config.php. We must globalize $wpdb to ensure that it is
                    
335/**
                    
336 * Sets the database table prefix and the format specifiers for database table columns.
                    
337 *
                    
                
wp-config.php.j2 https://gitlab.com/Nouteil/geekbrains_scm | Jinja | 104 lines
                    
2/**
                    
3 * The base configuration for WordPress
                    
4 *
                    
4 *
                    
5 * The wp-config.php creation script uses this file during the
                    
6 * installation. You don't have to use the web site, you can
                    
22
                    
23/** The name of the database for WordPress */
                    
24define( 'DB_NAME', '{{ mysql_db }}' );
                    
34
                    
35/** Database Charset to use in creating database tables. */
                    
36define( 'DB_CHARSET', 'utf8' );
                    
97
                    
98/** Absolute path to the WordPress directory. */
                    
99if ( ! defined( 'ABSPATH' ) ) {
                    
                
wp-config.php https://github.com/toxik/iHazNews.git | PHP | 98 lines
                    
2/**
                    
3 * The base configurations of the WordPress.
                    
4 *
                    
4 *
                    
5 * This file has the following configurations: MySQL settings, Table Prefix,
                    
6 * Secret Keys, WordPress Language, and ABSPATH. You can find more information
                    
17// ** MySQL settings - You can get this info from your web host ** //
                    
18/** The name of the database for WordPress */
                    
19define('DB_NAME', 'SOME_DB');
                    
29
                    
30/** Database Charset to use in creating database tables. */
                    
31define('DB_CHARSET', 'utf8');
                    
47 * Change these to different unique phrases!
                    
48 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
                    
49 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
                    
                
style.css https://github.com/chopsuei3/oscc.git | CSS | 1116 lines
                    
2Theme Name: Pilcrow
                    
3Theme URI: http://wordpress.org/extend/themes/pilcrow/
                    
4Description: Pilcrow&rsquo;s 6 different layouts, with multiple sidebar configurations, four default color schemes, custom header images (using featured images in posts and pages), and a customizable background, make personalizing your blog a snap.
                    
13
                    
14/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
                    
15-------------------------------------------------------------- */
                    
29	padding: 0;
                    
30	vertical-align: baseline;
                    
31}
                    
31}
                    
32legend, caption, table, tbody, tfoot, thead, tr, th, td {
                    
33	margin: 0;
                    
49}
                    
50/* tables still need 'cellspacing="0"' in the markup */
                    
51table {
                    
                
load.php https://gitlab.com/campus-academy/krowkaramel | PHP | 1776 lines
                    
56
                    
57			// Some IIS + PHP configurations put the script-name in the path-info (no need to append it twice).
                    
58			if ( isset( $_SERVER['PATH_INFO'] ) ) {
                    
186 * @since 5.5.1 Added the 'local' type.
                    
187 * @since 5.5.1 Removed the ability to alter the list of types.
                    
188 *
                    
292 * Checks for a file in the WordPress root directory named ".maintenance".
                    
293 * This file will contain the variable $upgrading, set to the time the file
                    
294 * was created. If the file was created less than 10 minutes ago, WordPress
                    
366/**
                    
367 * Retrieve or display the time from the page start to when function is called.
                    
368 *
                    
375 *                            1|true for echo. Default 0|false.
                    
376 * @param int      $precision The number of digits from the right of the decimal to display.
                    
377 *                            Default 3.
                    
                
woocommerce-gateway-stripe.php https://gitlab.com/campus-academy/krowkaramel | PHP | 737 lines
                    
29define( 'WC_STRIPE_ABSPATH', __DIR__ . '/' );
                    
30define( 'WC_STRIPE_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
                    
31define( 'WC_STRIPE_PLUGIN_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
                    
117			/**
                    
118			 * Private clone method to prevent cloning of the instance of the
                    
119			 * *Singleton* instance.
                    
133			/**
                    
134			 * Protected constructor to prevent creating a new instance of the
                    
135			 * *Singleton* via the `new` operator from outside of this class.
                    
145			/**
                    
146			 * Init the plugin after plugins_loaded so environment variables are set.
                    
147			 *
                    
293			/**
                    
294			 * Updates the PRB location settings based on deprecated filters.
                    
295			 *
                    
                
en_US.php https://gitlab.com/campus-academy/krowkaramel | PHP | 230 lines
                    
25<li><strong>Analyze Child Theme</strong> - Click "Analyze" to determine stylesheet dependencies and other potential issues.</li>
                    
26<li><strong>Name the new theme directory</strong> if creating a new Child Theme; otherwise verify it the directory is correct. - This is NOT the name of the Child Theme. You can customize the name, description, etc. in step 7, below.</li>
                    
27<li><strong>Select where to save new styles:</strong><ul>
                    
42<p>There are two ways to identify and override baseline (parent) styles. The Child Theme Configurator lets you search styles by <strong>selector</strong> and by <strong>property</strong>. If you wish to change a specific selector (e.g., h1), use the "Query/Selector" tab. If you have a specific value you wish to change site-wide (e.g., the color of the type), use the "Property/Value" tab.</p>
                    
43<p>The Query/Selector tab lets you find specific selectors and edit them. First, find the query that contains the selector you wish to edit by typing in the <strong>Query</strong> autoselect box. Select by clicking with the mouse or by pressing the "Enter" or "Tab" keys. Selectors are in the <strong>base</strong> query by default.</p>
                    
44<p>Next, find the selector by typing in the <strong>Selector</strong> autoselect box. Select by clicking with the mouse or by pressing the "Enter" or "Tab" keys.</p>
                    
45<p>This will load all of the properties for that selector with the Original values on the left and the New values inputs on the right. Any existing new values will be automatically populated. There is also a Sample preview that displays the combination of Parent and Child overrides. Note that the <strong>border</strong> and <strong>background-image</strong> get special treatment.</p>
                    
46<p>If you wish to add additional properties to an existing selector, first load the selector using the Query/Selector tab. Then find the property you wish to override by typing in the <strong>New Property</strong> autoselect box. Select by clicking with the mouse or by pressing the "Enter" or "Tab" keys. This will add a new input row to the selector inputs.</p>
                    
47<p>The "Order" field contains the original sequence of the selector in the parent theme stylesheet. You can change the selector order sequence by entering a lower or higher number in the "Order" field. You can also force style overrides (so called "!important" flag) by checking the "!" box next to each input. Please use judiciously.</p>
                    
66<p>You can link additional stylesheets and web fonts by typing @import rules into the textarea on the Web Fonts tab.</p>
                    
67<p><strong>Note:</strong> Child Theme Configurator no longer writes @import rules to the stylesheet. Instead, it uses the @import keyword to identify and enqueue them in the script queue. WordPress then converts them to &lt;link&gt; tags in the rendered HTML.</p>
                    
68<p>Important: do not import the parent theme stylesheet here. Use the "Parent stylesheet handling" option from the Parent/Child tab.</p>
                    
94<h3 id="ctc_preview">Preview and Activate</h3>
                    
95<p><strong>IMPORTANT: <a target="_blank" href="<?php echo CHLD_THM_CFG_DOCS_URL; ?>/how-to-use/#preview_activate" title="Preview your child theme before activating!">Preview your child theme before activating!</a></strong> Some themes (particularly commercial themes) do not correctly load parent template files or automatically load child theme stylesheets or php files. <strong>In the worst cases they will break your website when you activate the child theme.</strong></p>
                    
96<ol>
                    
                
load.php https://github.com/jimmytidey/jimmytidey.co.uk.git | PHP | 778 lines
                    
64
                    
65			// Some IIS + PHP configurations puts the script-name in the path-info (No need to append it twice)
                    
66			if ( isset( $_SERVER['PATH_INFO'] ) ) {
                    
94/**
                    
95 * Check for the required PHP version, and the MySQL extension or a database drop-in.
                    
96 *
                    
209 *                       1|true for echo. Default 0|false.
                    
210 * @param int $precision The number of digits from the right of the decimal to display.
                    
211 *                       Default 3.
                    
309 *
                    
310 * This function is used to load the database class file either at runtime or by
                    
311 * wp-admin/setup-config.php. We must globalize $wpdb to ensure that it is
                    
330/**
                    
331 * Sets the database table prefix and the format specifiers for database table columns.
                    
332 *
                    
                
URLUtils.as https://github.com/wersling/manaca.git | ActionScript | 210 lines
                    
25 *      1.  In Firefox,
                    
26 *      In order for the Firefox to trust the Flash object, thus allow popup
                    
27 *      windows, we need to set the wmode property of the Flash object to
                    
28 *      "opaque" or "transparent" (obviously don't use transparent unless we
                    
29 *      really need to). This is required when working together with the
                    
30 *      Flash player \>= 9.0.115, even for Mouse-click pop-ups.
                    
48 *      Internet Explorer), we can set the wmode property of the Flash
                    
49 *      object to "window" as default. Then set the wmode property to
                    
50 *      “opaque”, if it’s running in Flash players \>= 9.0.115 and non-IE
                    
70 *
                    
71 *      The Auto-launch pop-ups are not allowed *only* in the following
                    
72 *      configurations:
                    
86 * @author Jason the Saj
                    
87 * @see http://thesaj.wordpress.com/2008/02/12/
                    
88 *      the-nightmare-that-is-_blank-part-ii-help
                    
                
devise.rb https://gitlab.com/grzegorczykj61/consul-ja | Ruby | 279 lines
                    
64  # enable it only for database authentication. The supported strategies are:
                    
65  # :database      = Support basic authentication with authentication key + password
                    
66  # config.http_authenticatable = false
                    
110  # access will be blocked just in the third day. Default is 0.days, meaning
                    
111  # the user cannot access the website without confirming their account.
                    
112  # config.allow_unconfirmed_access_for = 2.days
                    
113
                    
114  # A period that the user is allowed to confirm their account before their
                    
115  # token becomes invalid. For example, if set to 3.days, the user can confirm
                    
115  # token becomes invalid. For example, if set to 3.days, the user can confirm
                    
116  # their account within 3 days after the mail was sent, but on the fourth day
                    
117  # their account can't be confirmed with the token any more.
                    
254  # If you want to use other strategies, that are not supported by Devise, or
                    
255  # change the failure app, you can configure them inside the config.warden block.
                    
256  #
                    
                
wp-config.php https://bitbucket.org/murtuza88/carolina-home-stone.git | PHP | 92 lines
                    
2/**
                    
3 * The base configurations of the WordPress.
                    
4 *
                    
4 *
                    
5 * This file has the following configurations: MySQL settings, Table Prefix,
                    
6 * Secret Keys, WordPress Language, and ABSPATH. You can find more information
                    
17// ** MySQL settings - You can get this info from your web host ** //
                    
18/** The name of the database for WordPress */
                    
19define('SITE_NAME','http://chs.dev.com:9080');
                    
31
                    
32/** Database Charset to use in creating database tables. */
                    
33define('DB_CHARSET', 'utf8');
                    
41 * Change these to different unique phrases!
                    
42 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
                    
43 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
                    
                
wp-config.php https://gitlab.com/ripontopu/uswo | PHP | 89 lines
                    
2/**
                    
3 * The base configuration for WordPress
                    
4 *
                    
4 *
                    
5 * The wp-config.php creation script uses this file during the
                    
6 * installation. You don't have to use the web site, you can
                    
21// ** MySQL settings - You can get this info from your web host ** //
                    
22/** The name of the database for WordPress */
                    
23define('DB_NAME', 'usow');
                    
33
                    
34/** Database Charset to use in creating database tables. */
                    
35define('DB_CHARSET', 'utf8mb4');
                    
43 * Change these to different unique phrases!
                    
44 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
                    
45 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
                    
                
wp-config.php https://github.com/muskmelon/Greemo.git | PHP | 90 lines
                    
2/**
                    
3 * The base configurations of the WordPress.
                    
4 *
                    
4 *
                    
5 * This file has the following configurations: MySQL settings, Table Prefix,
                    
6 * Secret Keys, WordPress Language, and ABSPATH. You can find more information
                    
17// ** MySQL settings - You can get this info from your web host ** //
                    
18/** The name of the database for WordPress */
                    
19define('DB_NAME', 'yhdsca1_wrdp2');
                    
29
                    
30/** Database Charset to use in creating database tables. */
                    
31define('DB_CHARSET', 'utf8');
                    
39 * Change these to different unique phrases!
                    
40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
                    
41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
                    
                
wp-config.php https://bitbucket.org/joelkriteman/argento.git | PHP | 90 lines
                    
2/**
                    
3 * The base configurations of the WordPress.
                    
4 *
                    
4 *
                    
5 * This file has the following configurations: MySQL settings, Table Prefix,
                    
6 * Secret Keys, WordPress Language, and ABSPATH. You can find more information
                    
17// ** MySQL settings - You can get this info from your web host ** //
                    
18/** The name of the database for WordPress */
                    
19define('DB_NAME', 'argento');
                    
29
                    
30/** Database Charset to use in creating database tables. */
                    
31define('DB_CHARSET', 'utf8');
                    
39 * Change these to different unique phrases!
                    
40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
                    
41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
                    
                
web-sites-php-enterprise-wordpress.md https://gitlab.com/apachipa/azure-content | Markdown | 283 lines
                    
96
                    
97* **[WordPress export][export]** - This exports the content of your blog, which can then be imported to a new WordPress site on Azure App Service using the [WordPress importer plugin][import].
                    
98
                    
100
                    
101* **Manual migration** - [Back up your site][wordpressbackup] and [database][wordpressdbbackup], then manually restore it to a web app in Azure App Service and associated MySQL database to migrate highly customized sites and avoid the tedium of manually installing plugins, themes, and other customizations.
                    
102
                    
108
                    
1092. Follow the steps in [Create a WordPress web app in Azure App Service][createwordpress] to create a new WordPress web app. When creating the web app, select **Use an existing MySQL Database** and select the database created in step 1.
                    
110
                    
159
                    
160	3. Update the database to change the domain entries to your new Azure App Service domain. For example, mywordpress.azurewebsites.net. Use the [Search and Replace for WordPress Databases Script][searchandreplace] to safely change all instances.
                    
161
                    
186**Set App Service plan mode, size, and enable scaling** | [Scale a web app in Azure App Service][websitescale]
                    
187**Enable persistent database connections** <p>By default, WordPress does not use persistent database connections, which may cause your connection to the database to become throttled after multiple connections.</p>  | <ol><li><p>Edit the <strong>wp-includes/wp-db.php</strong> file.</p></li><li><p>Find the following line.</p><code>$this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags );</code></li><li><p>Replace the previous line with the following.</p><code>$this->dbh = mysql_pconnect( $this->dbhost, $this->dbuser, $this->dbpassword,  $client_flags ); <br/>if ( false !== $error_reporting ) { /br/>&nbsp;&nbsp;error_reporting( $error_reporting ); <br/>} </code></li><li><p>Find the following line.</p><code>$this->dbh = @mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags ); </code></li><li><p>Replace the above line with the following.</p><code>$this->dbh = @mysql_pconnect( $this->dbhost, $this->dbuser, $this->dbpassword,  $client_flags ); </code></li><li><p>Save the file <strong>wp-includes/wp-db.php</strong> file and redeploy the site.</p></li></ol><div class="wa-note"><span class="wa-icon-bulb"></span><p>These changes may be overwritten when WordPress is updated.</p><p>WordPress defaults to automatic updates, which can be disabled by editing the <strong>wp-config.php</strong> file and adding <code>define ( 'WP_AUTO_UPDATE_CORE', false );</code></p><p>Another way of addressing updates would be to use a WebJob that monitors the <strong>wp-db.php</strong> file and performs the above modifications each time the file is updated. See <a href="http://www.hanselman.com/blog/IntroducingWindowsAzureWebJobs.aspx">Introduction to WebJobs</a> for more information.</p></div>
                    
188**Improve performance** | <ul><li><p><a href="http://ppe.blogs.msdn.com/b/windowsazure/archive/2013/11/18/disabling-arr-s-instance-affinity-in-windows-azure-web-sites.aspx">Disable the ARR cookie</a> - can improve performance when running WordPress on multiple Web Apps instances</p></li><li><p>Enable caching. <a href="http://msdn.microsoft.com/library/azure/dn690470.aspx">Redis cache</a> (preview) can be used with the <a href="https://wordpress.org/plugins/redis-object-cache/">Redis object cache WordPress plugin</a>, or use one of the other caching offerings from the <a href="/gallery/store/">Azure Store</a></p></li><li><p><a href="http://ruslany.net/2010/03/make-wordpress-faster-on-iis-with-wincache-1-1/">How to make WordPress faster with Wincache</a> - Wincache is enabled by default for Web Apps</p></li><li><p><a href="../web-sites-scale/">Scale a web app in Azure App Service</a> and use <a href="http://www.cleardb.com/developers/cdbr/introduction">ClearDB
                    
                
README.md https://gitlab.com/brunokenshin/jmic | Markdown | 72 lines
                    
24# Filters configuration:
                    
25These configurations defines which emails jmic will consider to do all the work. The more restricted search, faster will be the process.  
                    
26
                    
40    + If null, it will search all the time.
                    
41    + PS: The bigger it is, more mails will catch and can let the system too slow. If let it null, will get all time emails and its VERY UNRECOMENDED!
                    
42
                    
43# Fields configuration:
                    
44These are the fields that you want to get from the messages.
                    
45
                    
49- fieldStartPattern
                    
50    + Defines the pattern that mark the start of the wanted information.
                    
51
                    
52- fieldEndPattern
                    
53    + Defines the pattern that mark the end of the wanted information.
                    
54
                    
                
wp-config.php https://gitlab.com/haque.mdmanzurul/neophix | PHP | 89 lines
                    
2/**
                    
3 * The base configuration for WordPress
                    
4 *
                    
4 *
                    
5 * The wp-config.php creation script uses this file during the
                    
6 * installation. You don't have to use the web site, you can
                    
21// ** MySQL settings - You can get this info from your web host ** //
                    
22/** The name of the database for WordPress */
                    
23define('DB_NAME', 'Neophix');
                    
33
                    
34/** Database Charset to use in creating database tables. */
                    
35define('DB_CHARSET', 'utf8');
                    
43 * Change these to different unique phrases!
                    
44 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
                    
45 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
                    
                
wp-config.php https://gitlab.com/thisishayat/itv-2016 | PHP | 89 lines
                    
2/**
                    
3 * The base configuration for WordPress
                    
4 *
                    
4 *
                    
5 * The wp-config.php creation script uses this file during the
                    
6 * installation. You don't have to use the web site, you can
                    
21// ** MySQL settings - You can get this info from your web host ** //
                    
22/** The name of the database for WordPress */
                    
23define('DB_NAME', 'itv-2016');
                    
33
                    
34/** Database Charset to use in creating database tables. */
                    
35define('DB_CHARSET', 'utf8mb4');
                    
43 * Change these to different unique phrases!
                    
44 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
                    
45 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
                    
                
wp-config.php https://bitbucket.org/glix/familydentistry.git | PHP | 90 lines
                    
2/**
                    
3 * The base configurations of the WordPress.
                    
4 *
                    
4 *
                    
5 * This file has the following configurations: MySQL settings, Table Prefix,
                    
6 * Secret Keys, WordPress Language, and ABSPATH. You can find more information
                    
17// ** MySQL settings - You can get this info from your web host ** //
                    
18/** The name of the database for WordPress */
                    
19define('DB_NAME', 'logiciel_family');
                    
29
                    
30/** Database Charset to use in creating database tables. */
                    
31define('DB_CHARSET', 'utf8');
                    
39 * Change these to different unique phrases!
                    
40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
                    
41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
                    
                
wp-config.php https://bitbucket.org/glix/familydentistry.git | PHP | 90 lines
                    
2/**
                    
3 * The base configurations of the WordPress.
                    
4 *
                    
4 *
                    
5 * This file has the following configurations: MySQL settings, Table Prefix,
                    
6 * Secret Keys, WordPress Language, and ABSPATH. You can find more information
                    
17// ** MySQL settings - You can get this info from your web host ** //
                    
18/** The name of the database for WordPress */
                    
19define('DB_NAME', 'wp-familydentistry');
                    
29
                    
30/** Database Charset to use in creating database tables. */
                    
31define('DB_CHARSET', 'utf8');
                    
39 * Change these to different unique phrases!
                    
40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
                    
41 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
                    
                
changelog.md https://github.com/mgsisk/webcomic.git | Markdown | 677 lines
                    
122- User experience improved for all administrative screens
                    
123- Webcomic Attacher is now the Webcomic Matcher, lives in the Tools menu
                    
124- Webcomic Commerce is now the Webcomic IPN Log
                    
295    comic. The key combinations shift+left, shift+right, and shift+down take
                    
296    users to the first, last, or a random comic in the series, respectively.
                    
297  - A small donate link has been added next to the Webcomic version information.
                    
327    page (or post) that users will be sent to when the click first/previous on
                    
328    the first comic or next/last on the last comic.
                    
329  - **New** Transcript Backups. Webcomic now saves a transcript backup when an
                    
333    the_comic_series. the_comic_embed has a new format option which allows you
                    
334    to specify HTML or BBCode output. The parameter order of the chapter
                    
335    navigation template tags has changed, and the shortcut nav functions now
                    
339  - **New** Comic Buffer Widget. Allows you to display the total number of
                    
340    buffer comics for a particular series, or the date or date and time the
                    
341    buffer for a series will run out.
                    
                
2013-08-27-automated-deployments-now-in-the-rackspace-control-panel.markdown https://gitlab.com/Blueprint-Marketing/developer.rackspace.com | Markdown | 51 lines
                    
10---
                    
11The hardest part about using new technology is knowing where to begin. Spending hours sifting through blog posts and documentation to set up a server environment is often enough to extinguish the excitement about a new framework or application. By the same token, it is frustrating to deploy hosting architecture when you are excited to see how your latest code will perform. And no one likes having to do the same things over and over to create consistent testing, staging and production environments.
                    
12
                    
28
                    
29While [Chef][2] and [Puppet][3] are awesome tools to configure host machines or VMs, they do fall a little short in deploying full environments: you can’t run Chef on a Cloud Load Balancer or Cloud Database. This is where the Rackspace Deployments Service comes in. This system looks at the entire topology and configures your environment (servers, load balancers and databases) in a holistic way, based on best practices, for you to run your application.
                    
30
                    
33
                    
34When it is time to configure the application on a host machine, the Rackspace Deployments Service will use Chef or Puppet. Ultimately, our deployment offering is the orchestrator above everything; it ensures that your environment is setup to run the application along with verifying the app is configured correctly.
                    
35
                    
37
                    
38Our [Managed Cloud][4] team has been using the Rackspace Deployment Service to build and scale out customer configurations. This means that you are getting a battle-tested solution that has been working in the real world that is ready for prime time. The Rackspace Deployment Service is actively used by the experts who know how these applications should run and by Rackers who know how to support them if something goes awry.
                    
39
                    
41
                    
42We are excited to roll out the Rackspace Deployments Service and to get it in the hands of our customers. To get started, [click this link][5] or simply log into the [Rackspace Control Panel][6], click the drop down arrow on the Create Server menu and select Create Deployment.
                    
43
                    
                
 

Source

Language