100+ results results for 'php configuration repo:SobolAV/symfony' (801 ms)
1<?php 2 3/** 4 * The main class for fetching the configuration, update and delete items. This 5 * class is also a small Dependency Injection Container for phpMyFAQ. 10 * 11 * @package phpMyFAQ 12 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 12 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 13 * @copyright 2006-2021 phpMyFAQ Team 14 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 14 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 15 * @link https://www.phpmyfaq.de 16 * @since 2006-01-04 18 19namespace phpMyFAQ; 20AdminWebservice.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 237 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/osl-3.0.php 11* If you did not receive a copy of the license and are unable to 23* @version Release: $Revision: 7666 $ 24* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25* International Registered Trademark & Property of PrestaShop SA 27 28include_once(dirname(__FILE__).'/../../classes/AdminTab.php'); 29 39 $this->delete = true; 40 $this->id_lang_default = Configuration::get('PS_LANG_DEFAULT'); 41 47 48 $this->optionTitle = $this->l('Configuration'); 49 if (file_exists(_PS_ROOT_DIR_.'/.htaccess'))module-release-process.md git://github.com/silverstripe/sapphire.git | Markdown | 243 lines
23Think Wordpress and Apple. Most modules should work by merely placing the code in your SilverStripe installation and 24running /dev/build. Provide a default set of configuration options that are easily changed in `_config.php` 25(for instance the `ecommerce` module works out of the box, and you can easily set up a payment provider), aiding a pleasant 82 83 * <Specific SilverStripe version, PHP, MySQL, ...> 84css.js git://github.com/cliftonc/calipso.git | JavaScript | 455 lines
6 * Licensed under the MIT License at: 7 * http://www.opensource.org/licenses/mit-license.php 8 * 44 * 45 * Global configuration options: 46 *slackconf.sh http://slackconf.googlecode.com/svn/trunk/ | Shell | 646 lines
4VERSION="0.0.25" 5NAME="SlackConf GUI for Slackware Configuration" 6DIA="/bin/dialog" 54 Slackware (R) is a registered trademark of Patrick Volkerding, for more \n 55 information visit: http://slackware.com/trademark/trademark.php \n 56 Join the project group: slackconf@googlegroups.com " \ 179 0 0 0 \ 180 CPU 'configuration' \ 181 Memory 'information' )GuiUtils.java http://ipassbook.googlecode.com/svn/trunk/ | Java | 496 lines
4 * 5 * See http://www.atunes.org/wiki/index.php?title=Contributing for information about contributors 6 * 102 103 mainDeviceBounds = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration().getBounds(); 104 }serpgctl git://pkgs.fedoraproject.org/ser | Shell | 784 lines
22 23# configuration for starting/stopping ser 24PID_FILE=/var/run/ser.pid 91SUB_MODIFIED_COLUMN=datetime_modified 92PHP_LIB_COLUMN=phplib_id 93 633 $HA1B_COLUMN,$PASSWORD_COLUMN,$EMAIL_COLUMN, $SUB_CREATED_COLUMN, \ 634 $PHP_LIB_COLUMN,datetime_modified ) \ 635 values ('$1','$SIP_DOMAIN','$HA1','$HA1B','$2', '$3', now(), '$HA1', now() );";EntityContentBase.php git://github.com/drupal/drupal.git | PHP | 385 lines
1<?php 2 25 * 26 * Available configuration keys: 27 * - translations: (optional) Boolean, indicates if the entity is translatable, 38 * 39 * The language of the source will be used because the configuration 40 * 'translations: true' was set. Without this configuration option the site's 50 * preserved because 'field_example' is not included in 'overwrite_properties' 51 * configuration. 52 * @code 114 * 115 * @param array $configuration 116 * A configuration array containing information about the plugin instance. 131 */ 132 public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, EntityStorageInterface $storage, array $bundles, EntityFieldManagerInterface $entity_field_manager, FieldTypePluginManagerInterface $field_type_manager) { 133 parent::__construct($configuration, $plugin_id, $plugin_definition, $migration, $storage, $bundles);ConfigurationFrame.cs https://openpdc.svn.codeplex.com/svn | C# | 302 lines
127 CategorizedSettingsElementCollection systemSettings = configFile.Settings["systemSettings"]; 128 systemSettings.Add("ConfigurationCachePath", s_configurationCachePath, "Defines the path used to cache serialized phasor protocol configurations"); 129 173 /// <param name="configurationName"><see cref="string"/> representing the configuration name.</param> 174 public static void Cache(IConfigurationFrame configurationFrame, Action<Exception> exceptionHandler, string configurationName) 175 { 175 { 176 Tuple<IConfigurationFrame, Action<Exception>, string> state = new Tuple<IConfigurationFrame, Action<Exception>, string>(configurationFrame, exceptionHandler, configurationName); 177 ThreadPool.QueueUserWorkItem(Cache, (object)state); 190 string configurationName = args.Item3; 191 string configurationCacheFileName = GetConfigurationCacheFileName(configurationName); 192 262 { 263 return string.Format("{0}{1}.configuration.xml", ConfigurationCachePath, configurationName.ReplaceCharacters('_', c => Path.GetInvalidFileNameChars().Contains(c))); 264 }UploaderCompatibilityTests.js git://github.com/fluid-project/infusion.git | JavaScript | 215 lines
22 23 // Choose html5 configuration for all tests since it will cause resolution of multiFileUpload 24 fluid.tests.uploader.commonTags = { 43 options: { 44 uploadURL: "include/lib/upload.php" 45 } 54 queueSettings: { 55 uploadURL: "include/lib/upload.php" 56 },InitTemplate.php git://github.com/Codeception/Codeception.git | PHP | 346 lines
21 * ```php 22 * <?php 23 * namespace Codeception\Template; // it is important to use this namespace so codecept init could locate this template 91 /** 92 * ```php 93 * <?php 129 * ```php 130 * <?php 131 * $this->say('Welcome to Setup'); 187 $dir = $directory . DIRECTORY_SEPARATOR . "Helper", 188 "$name.php" 189 ) . "$name.php"; 241 $suiteConfig['namespace'] = $this->namespace; 242 $config = Configuration::mergeConfigs(Configuration::$defaultSuiteSettings, $suiteConfig); 243classes.html git://pkgs.fedoraproject.org/xqilla | HTML | 44 lines
6</head><body> 7<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a> 8<!-- Generated by Doxygen 1.6.1 --> 33</td><td><a class="el" href="classxercesc_1_1DOMLSOutput.html">DOMLSOutput</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMXPathExpression.html">DOMXPathExpression</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMLSParser.html">DOMLSParser</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMXPathNamespace.html">DOMXPathNamespace</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMCDATASection.html">DOMCDATASection</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMLSParserFilter.html">DOMLSParserFilter</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html">DOMXPathNSResolver</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMCharacterData.html">DOMCharacterData</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMLSResourceResolver.html">DOMLSResourceResolver</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMXPathResult.html">DOMXPathResult</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMComment.html">DOMComment</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMLSSerializer.html">DOMLSSerializer</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a name="letter_M"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> M </div></td></tr></table> 34</td></tr><tr><td><a class="el" href="classxercesc_1_1DOMConfiguration.html">DOMConfiguration</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMLSSerializerFilter.html">DOMLSSerializerFilter</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMMemoryManager.html">DOMMemoryManager</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a name="letter_R"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> R </div></td></tr></table> 35</td></tr><tr><td><a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMNamedNodeMap.html">DOMNamedNodeMap</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="structXQillaAllocator_1_1rebind.html">XQillaAllocator::rebind</a> </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMDocumentRange.html">DOMDocumentRange</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a name="letter_S"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> S </div></td></tr></table>system.schema.yml https://bitbucket.org/aswinvk28/smartpan-stock-drupal.git | YAML | 488 lines
1# Schema for the configuration files of the System module. 2 139 mapping: 140 php: 141 type: date_format 141 type: date_format 142 label: 'PHP date format' 143 intl: 354 label: 'Plugin' 355 configuration: 356 type: action.configuration.[plugin]class_settings.php git://github.com/MightyGorgon/icy_phoenix.git | PHP | 500 lines
1<?php 2/** 6* @copyright (c) 2008 Icy Phoenix 7* @license http://opensource.org/licenses/gpl-license.php GNU Public License 8* 60 { 61 @include(IP_ROOT_PATH . 'includes/' . SETTINGS_PATH . $settings_file . '.' . PHP_EXT); 62 } 143 /* 144 * Initialize configuration 145 */ 438 { 439 if ((strpos($file, $modules_prefix) === 0) && (substr($file, -(strlen(PHP_EXT) + 1)) === '.' . PHP_EXT)) 440 { 470 { 471 if ((strpos($file, 'lang_' . $suffix) === 0) && (substr($file, -(strlen(PHP_EXT) + 1)) === '.' . PHP_EXT)) 472 {AdvancedServerDatabaseConfig.cs https://openHistorian.svn.codeplex.com/svn | C# | 388 lines
10// 11// http://www.opensource.org/licenses/eclipse-1.0.php 12// 31 32namespace GSF.Snap.Services.Configuration 33{ 34 /// <summary> 35 /// Creates a configuration for the database to utilize. 36 /// </summary>Database.php https://bitbucket.org/aswinvk28/smartpan-stock-drupal.git | PHP | 450 lines
1<?php 2 50 /** 51 * A processed copy of the database connection information from settings.php. 52 * 208 /** 209 * Process the configuration file for database information. 210 */ 260 * Under normal circumstances the preferred way to specify database 261 * credentials is via settings.php. However, this method allows them to be 262 * added at arbitrary times, such as during unit tests, when connecting to 272 * The database connection information, as it would be defined in 273 * settings.php. Note that the structure of this array will depend on the 274 * database driver it is connecting to. 353 * @param $key 354 * The database connection key, as specified in settings.php. The default is 355 * "default".CleanerHelper.php git://github.com/CakeDC/comments.git | PHP | 444 lines
1<?php 2/** 8 * @copyright Copyright 2009 - 2013, Cake Development Corporation (http://cakedc.com) 9 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 10 */ 48/** 49 * Holds different configurations 50 * 79/** 80 * Configuration of cleaner. possible to call separately or from clean method 81 *database.php git://github.com/enormego/EightPHP.git | PHP | 425 lines
1<?php 2/** 9 * 10 * The above will assume the 'default' configuration from the APPPATH/config/mongo.php file. 11 * Alternatively it may be instantiated with the name and configuration specified as arguments: 18 * 19 * The Mongo_Collection class will gain access to the server by calling the instance method with a configuration name, 20 * so if not using Kohana or the configuration name is not present in the config file then the instance should be created 25 * 26 * If using Kohana, profiling can be enabled/disabled via the configuration or on demand by setting the profiling property. 27 * 82 /** 83 * Get a Mongo_Database instance. Configuration options are: 84 * 91 * 92 * @param string $name The configuration name 93 * @param array $config Pass a configuration array to bypass the Kohana configattribute_filter.rb git://github.com/newrelic/rpm.git | Ruby | 301 lines
8# Instances of it are constructed by deriving a set of rules from the agent 9# configuration. Instances are immutable once they are constructed - if the 10# config changes, a new instance should be constructed and swapped in to 57# 58# This approach to rule evaluation was taken from the PHP agent's 59# implementation.ThemeInitialization.php git://github.com/drupal/drupal.git | PHP | 350 lines
1<?php 2 91 // is possible, because loadActiveTheme() always loads the Twig theme 92 // engine. This is desired, because missing or malformed theme configuration 93 // should not leave the application in a broken state. By falling back to 118 // some people might experience slight visual regressions on 119 // update.php. 120 continue;horde.php git://pkgs.fedoraproject.org/horde | PHP | 333 lines
1<?php 2/** 11 * 12 * $Horde: framework/VFS/lib/VFS/horde.php,v 1.1.2.3 2009/01/06 15:23:47 jan Exp $ 13 * 40 if (!isset($this->_params['horde_base'])) { 41 $this->_registry = PEAR::raiseError(sprintf(_("Required \"%s\" not specified in VFS configuration."), 'horde_base')); 42 return; 48 // Load the Horde Framework core, and set up inclusion paths. 49 require_once HORDE_BASE . '/lib/core.php'; 50 58 !empty($this->_params['password'])) { 59 include HORDE_BASE . '/config/conf.php'; 60 $auth_driver = empty($conf['auth']['driver']) ? 'none' : $conf['auth']['driver']; 281 282 include_once 'Horde/MIME/Magic.php'; 283 foreach ($items as $sub_path => $i) {Curl.php https://github.com/dmolsen/MIT-Mobile-Web.git | PHP | 392 lines
31 * An adapter class for Zend_Http_Client based on the curl extension. 32 * Curl requires libcurl. See for full requirements the PHP manual: http://php.net/curl 33 * 103 if (!extension_loaded('curl')) { 104 require_once 'Zend/Http/Client/Adapter/Exception.php'; 105 throw new Zend_Http_Client_Adapter_Exception('cURL extension has to be loaded to use this Zend_Http_Client adapter.'); 185 186 require_once 'Zend/Http/Client/Adapter/Exception.php'; 187 throw new Zend_Http_Client_Adapter_Exception('Unable to Connect to ' . $host . ':' . $port); 218 if (!$this->_curl) { 219 require_once 'Zend/Http/Client/Adapter/Exception.php'; 220 throw new Zend_Http_Client_Adapter_Exception("Trying to write but we are not connected"); 305 * Make sure POSTFIELDS is set after $curlMethod is set: 306 * @link http://de2.php.net/manual/en/function.curl-setopt.php#81161 307 */loader.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 464 lines
1<?php 2 246 /** 247 * Renders the configuration page for a network module, as seen on the admin 248 * "network modules" screen. 257 258 require ( dirname( __FILE__ ) . '/admin/loader.php' ); 259 265 /** 266 * Renders the configuration page for a network module, as seen on the user's 267 * site settings screens. 450 $name = $this->getName(); 451 $php_class = get_class($this); 452 452 453 $bpm->networkModules->register($slug, $name, $php_class); 454NativeSessionStorage.php git://github.com/symfony/symfony.git | PHP | 467 lines
67 * 68 * @see https://php.net/session.configuration for options 69 * but we omit 'session.' from the beginning of the keys for convenience. 85 * lazy_write, "1" 86 * name, "PHPSESSID" 87 * referer_check, "" 363 * 364 * @see https://php.net/session.configuration 365 */ 367 { 368 if (headers_sent() || PHP_SESSION_ACTIVE === session_status()) { 369 return; 385 if (isset($validOptions[$key])) { 386 if ('cookie_samesite' === $key && \PHP_VERSION_ID < 70300) { 387 // PHP < 7.3 does not support same_site cookies. We will emulate it incustom.html http://rubystudy.googlecode.com/svn/trunk/ | HTML | 180 lines
13 Hosted By:<br/> 14 <a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=23523&type=1" width="88" height="31" alt="SourceForge"/></a> 15 </div> 52 <h2>Build parameters</h2> 53 <p>Three configuration settings are specified when building the reporting applications. See the 54 <a href="install.html#Building">Building</a> section of the Installation Guide</p> 76 <dd>port where CruiseControl JMX agent's RMI adaptor is listening. If specified enables the experimental 77 configuration editor.</dd> 78 <dd class="default-value">The binaryrelease sets this to the <code>-rmiport</code> value given as a 83 84 <p>The JSP reporting application uses context parameters and servlet init parameters configuration and 85 customization. These parameters can be edited in the web.xml file directly. Some Web Containers likemysqliAdapter.php git://github.com/semsol/arc2.git | PHP | 263 lines
1<?php 2 49 $this->db = new MysqliDbExtended( 50 $this->configuration['db_host'], 51 $this->configuration['db_user'], 51 $this->configuration['db_user'], 52 $this->configuration['db_pwd'], 53 null, 53 null, 54 $this->configuration['db_port'] ?? 3306 55 ); 60 61 if (isset($this->configuration['db_name']) 62 && true !== $this->db->simpleQuery('USE `'.$this->configuration['db_name'].'`')) { 64 /* try to create it */ 65 if ($this->configuration['db_name']) { 66 $this->db->simpleQuery('fckconfig.js http://3rgbcom.googlecode.com/svn/trunk/ | JavaScript | 329 lines
20 * 21 * Editor configuration settings. 22 * 23 * Follow this link for more information: 24 * http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configurations_Settings 25 */ 26 27FCKConfig.CustomConfigurationsPath = '' ; 28 57// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%> 58// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code 59// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control> 164FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; 165FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl 166FCKConfig.FirefoxSpellChecker = false ;EntityValidationTest.php git://github.com/drupal/drupal.git | PHP | 260 lines
1<?php 2 57 58 // Install required default configuration for filter module. 59 $this->installConfig(['system', 'filter']);00_Server_Requirements.md git://github.com/silverstripe/sapphire.git | Markdown | 185 lines
17 * PHP extensions: `ctype`, `dom`, `fileinfo`, `hash`, `intl`, `mbstring`, `session`, `simplexml`, `tokenizer`, `xml` 18 * PHP configuration: `memory_limit` with at least `48M` 19 * PHP extension for image manipulation: Either `gd` or `imagick` 21 22Use [phpinfo()](http://php.net/manual/en/function.phpinfo.php) to inspect your configuration. 23 91Files in this state get served by SilverStripe rather than your webserver. 92Since the framework uses [PHP streams](https://www.php.net/manual/en/ref.stream.php), 93this allows serving of files larger than your PHP memory limit. 94Please be aware that streaming operations don't count towards 95PHP's [max_execution_time](https://www.php.net/manual/en/function.set-time-limit.php), 96which can risk exhaustion of web worker pools for long-running downloads. 158 159SilverStripe's PHP support has changed over time and if you are looking to upgrade PHP on your SilverStripe site, this table may be of use: 160SearchHelper.php git://github.com/thorsten/phpMyFAQ.git | PHP | 382 lines
10 * @package phpMyFAQ\Helper 11 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 12 * @copyright 2009-2021 phpMyFAQ Team 13 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 14 * @link https://www.phpmyfaq.de 15 * @since 2009-09-07 20use Exception; 21use phpMyFAQ\Configuration; 22use phpMyFAQ\Faq; 23use phpMyFAQ\Helper; 24use phpMyFAQ\Link; 25use phpMyFAQ\Pagination; 105 '%s?%saction=faq&cat=%d&id=%d&artlang=%s&highlight=%s', 106 $this->config->getDefaultUrl() . 'index.php', 107 $this->sessionId,AssetCompressHelper.php git://github.com/markstory/asset_compress.git | PHP | 422 lines
1<?php 2declare(strict_types=1); 34 /** 35 * Configuration object 36 * 78 /** 79 * Modify the runtime configuration of the helper. 80 * Used as a get/set for the ini file values. 157 * 158 * To create build files without configuration use addCss() 159 * 200 * 201 * To create build files without configuration use addScript() 202 * 374 * 375 * To create build files without configuration use addCss() 376 *0918fckconfig.js http://prosporous.googlecode.com/svn/trunk/ | JavaScript | 315 lines
20 * 21 * Editor configuration settings. 22 * 23 * Follow this link for more information: 24 * http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configurations_Settings 25 */ 26 27FCKConfig.CustomConfigurationsPath = '' ; 28 158FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; 159FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl 160FCKConfig.FirefoxSpellChecker = false ; 264// Custom implementations should just ignore it. 265var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py 266var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | pyadmin_language.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 406 lines
1<?php 2 44 45$lang_module['nv_lang_setting'] = "Configuration"; 46/* 197 vietnam: C?u hěnh ??c d? li?u vŕo data 198 english: Read data configuration 199*/ 218 219$lang_module['nv_setting_save'] = "Mise ŕ jour réussie de la configuration"; 220/* 221 vietnam: C?p nh?t c?u hěnh thŕnh công 222 english: Update configuration successfully 223*/ 263 vietnam: ?? thęm m?i ngôn ng? d? li?u, b?n c?n t?o tr??c ngôn ng? giao di?n, xu?t ra file vŕ c?u hěnh cho phép hi?n th? trong admin 264 english: To add a new language data, the first you need to create the interface language, output file and configuration for display in admin 265*/sfPropelFormGenerator.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 492 lines
99 100 file_put_contents($baseDir.'/base/Base'.$table->getPhpName().'Form.class.php', $this->evalTemplate('sfPropelFormGeneratedTemplate.php')); 101 if (!file_exists($classFile = $baseDir.'/'.$table->getPhpName().'Form.class.php')) 129 { 130 if ($relatedColumn->isForeignKey() && $relatedColumn->isPrimaryKey() && $this->table->getPhpName() != $this->getForeignTable($relatedColumn)->getPhpName()) 131 { 167 { 168 $names[] = array($this->getForeignTable($column)->getPhpName(), $column->getPhpName(), $column->isNotNull(), false); 169 } 173 { 174 $names[] = array($tables['relatedTable']->getPhpName(), $tables['middleTable']->getPhpName(), false, true); 175 } 479 { 480 $classes = sfFinder::type('file')->name('*MapBuilder.php')->in($this->generatorManager->getConfiguration()->getModelDirs()); 481 foreach ($classes as $class)IpAccessControlService.php git://github.com/concrete5/concrete5.git | PHP | 479 lines
1<?php 2 228 * @param \IPLib\Address\AddressInterface $ipAddress the IP to add to the blacklist (if null, we'll use the current IP address) 229 * @param bool $evenIfDisabled if set to true, we'll add the IP address even if the IP ban system is disabled in the configuration 230 *drag_drop_import.js git://github.com/phpmyadmin/phpmyadmin.git | JavaScript | 390 lines
1 2/* This script handles PMA Drag Drop Import, loaded only when configuration is enabled.*/ 3 90 }, 91 url: 'index.php?route=/import', 92 type: 'POST',ConfigurationInstance.php git://github.com/twilio/twilio-php.git | PHP | 195 lines
107 'serverlessServiceSids' => Values::array_get($payload, 'serverless_service_sids'), 108 'queueStatsConfiguration' => Values::array_get($payload, 'queue_stats_configuration'), 109 'notifications' => Values::array_get($payload, 'notifications'), 121 * 122 * @return ConfigurationContext Context for this ConfigurationInstance 123 */ 135 * @param array|Options $options Optional Arguments 136 * @return ConfigurationInstance Fetched ConfigurationInstance 137 * @throws TwilioException When an HTTP error occurs. 145 * 146 * @return ConfigurationInstance Created ConfigurationInstance 147 * @throws TwilioException When an HTTP error occurs. 155 * 156 * @return ConfigurationInstance Updated ConfigurationInstance 157 * @throws TwilioException When an HTTP error occurs.script_templates.php http://scalr.googlecode.com/svn/ | PHP | 350 lines
1<? 2 require("src/prepend.inc.php"); 3 $display['load_extjs'] = true; 5 $display["title"] = _("Script templates"); 6 $display["help"] = _("Scalr can execute scripts on instances upon various events. Your script templates along with parameters, will appear on farm/role configuration page under Scripting tab."); 7 10 if (isset($post_cancel)) 11 UI::Redirect("script_templates.php"); 12 67 68 UI::Redirect("script_templates.php"); 69 } 80 $errmsg = _("You don't have permissions to edit this template"); 81 UI::Redirect("script_templates.php"); 82 }index.php http://pixie-cms.googlecode.com/svn/trunk/ | PHP | 548 lines
43/* Check for config */ 44if ((!file_exists('admin/config.php')) or (filesize('admin/config.php') < 10)) { 45 /* redirect to installer */ 88 } 89 /* New! Built in php function. Tell php what the server timezone is so that we can use php 5's rewritten time and date functions with the correct time and without error messages */ 90 date_default_timezone_set("$server_timezone"); 110if (strnatcmp(phpversion(), '5.0.0') >= 0) { 111 /* Load the php5 version of simplepie if you are running php5 */ 112 include_once 'admin/lib/lib_simplepie_php5.php'; 159 if (file_exists("admin/themes/{$site_theme}/theme.php")) { 160 /* New! Your custom theme file must be named theme.php instead of index.php */ 161 include_once("admin/themes/{$site_theme}/theme.php"); 311 print $rel_path; 312?>admin/themes/style.php?theme=<?php 313 print $site_theme;cli.php https://bitbucket.org/cmwdosp/cmwbb3.git | PHP | 176 lines
3* 4* This file is part of the phpBB Forum Software package. 5* 5* 6* @copyright (c) phpBB Limited <https://www.phpbb.com> 7* @license GNU General Public License, version 2 (GPL-2.0) 13 14if (!defined('IN_PHPBB')) 15{ 37$lang = array_merge($lang, array( 38 'CLI_CONFIG_CANNOT_CACHED' => 'Set this option if the configuration option changes too frequently to be efficiently cached.', 39 'CLI_CONFIG_CURRENT' => 'Current configuration value, use 0 and 1 to specify boolean values', 40 'CLI_CONFIG_DELETE_SUCCESS' => 'Successfully deleted config %s.', 41 'CLI_CONFIG_NEW' => 'New configuration value, use 0 and 1 to specify boolean values', 42 'CLI_CONFIG_NOT_EXISTS' => 'Config %s does not exist',README.md git://github.com/squizlabs/PHP_CodeSniffer.git | Markdown | 133 lines
2 3PHP_CodeSniffer is a set of two PHP scripts; the main `phpcs` script that tokenizes PHP, JavaScript and CSS files to detect violations of a defined coding standard, and a second `phpcbf` script to automatically correct coding standard violations. PHP_CodeSniffer is an essential development tool that ensures your code remains clean and consistent. 4 6[![Build Status](https://github.com/squizlabs/PHP_CodeSniffer/workflows/Test/badge.svg?branch=master)](https://github.com/squizlabs/PHP_CodeSniffer/actions) 7[![Code consistency](http://squizlabs.github.io/PHP_CodeSniffer/analysis/squizlabs/PHP_CodeSniffer/grade.svg)](http://squizlabs.github.io/PHP_CodeSniffer/analysis/squizlabs/PHP_CodeSniffer) 8[![Join the chat at https://gitter.im/squizlabs/PHP_CodeSniffer](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/squizlabs/PHP_CodeSniffer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) 11 12PHP_CodeSniffer requires PHP version 5.4.0 or greater, although individual sniffs may have additional requirements such as external applications and scripts. See the [Configuration Options manual page](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Configuration-Options) for a list of these requirements. 13 13 14If you're using PHP_CodeSniffer as part of a team, or you're running it on a [CI](https://en.wikipedia.org/wiki/Continuous_integration) server, you may want to configure your project's settings [using a configuration file](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#using-a-default-configuration-file). 15 67### PEAR 68If you use PEAR, you can install PHP_CodeSniffer using the PEAR installer. This will make the `phpcs` and `phpcbf` commands immediately available for use. To install PHP_CodeSniffer using the PEAR installer, first ensure you have [installed PEAR](http://pear.php.net/manual/en/installation.getting.php) and then run the following command: 69WebhookOptions.php git://github.com/twilio/twilio-php.git | PHP | 267 lines
30 */ 31 public static function create(string $configurationUrl = Values::NONE, string $configurationMethod = Values::NONE, array $configurationFilters = Values::ARRAY_NONE, array $configurationTriggers = Values::ARRAY_NONE, string $configurationFlowSid = Values::NONE, int $configurationRetryCount = Values::NONE): CreateWebhookOptions { 32 return new CreateWebhookOptions($configurationUrl, $configurationMethod, $configurationFilters, $configurationTriggers, $configurationFlowSid, $configurationRetryCount); 50 public static function update(string $configurationUrl = Values::NONE, string $configurationMethod = Values::NONE, array $configurationFilters = Values::ARRAY_NONE, array $configurationTriggers = Values::ARRAY_NONE, string $configurationFlowSid = Values::NONE, int $configurationRetryCount = Values::NONE): UpdateWebhookOptions { 51 return new UpdateWebhookOptions($configurationUrl, $configurationMethod, $configurationFilters, $configurationTriggers, $configurationFlowSid, $configurationRetryCount); 52 } 69 */ 70 public function __construct(string $configurationUrl = Values::NONE, string $configurationMethod = Values::NONE, array $configurationFilters = Values::ARRAY_NONE, array $configurationTriggers = Values::ARRAY_NONE, string $configurationFlowSid = Values::NONE, int $configurationRetryCount = Values::NONE) { 71 $this->options['configurationUrl'] = $configurationUrl; 176 */ 177 public function __construct(string $configurationUrl = Values::NONE, string $configurationMethod = Values::NONE, array $configurationFilters = Values::ARRAY_NONE, array $configurationTriggers = Values::ARRAY_NONE, string $configurationFlowSid = Values::NONE, int $configurationRetryCount = Values::NONE) { 178 $this->options['configurationUrl'] = $configurationUrl; 180 $this->options['configurationFilters'] = $configurationFilters; 181 $this->options['configurationTriggers'] = $configurationTriggers; 182 $this->options['configurationFlowSid'] = $configurationFlowSid;MinimizeToTrayMenu.htm http://autohotkey-chinese.googlecode.com/svn/trunk/ | HTML | 267 lines
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<link rel="alternate" type="application/rss+xml" title="AutoHotkey Forum RSS" href="/forum/rss.php"> 8<link href="/docs/css/default.css" rel="stylesheet" type="text/css"> 38 39<em>; CONFIGURATION SECTION: Change the below values as desired.</em> 40 65 66<em>; END OF CONFIGURATION SECTION (do not make changes below this point</em> 67<em>; unless you want to change the basic functionality of the script).</em>crudBrowser.class.php http://selfpublish.googlecode.com/svn/trunk/ | PHP | 338 lines
1<?php 2 27 28 require_once($this->projectDir.'/config/ProjectConfiguration.class.php'); 29 sfContext::createInstance(ProjectConfiguration::getApplicationConfiguration('crud', 'test', true, $this->projectDir));DoctrineParamConverterTest.php https://github.com/schmittjoh/SensioFrameworkExtraBundle.git | PHP | 276 lines
1<?php 2 7 8class DoctrineParamConverterTest extends \PHPUnit_Framework_TestCase 9{ 29 30 public function createConfiguration($class = null, array $options = null, $name = 'arg', $isOptional = false) 31 { 32 $config = $this->getMock( 33 'Sensio\Bundle\FrameworkExtraBundle\Configuration\ConfigurationInterface', array( 34 'getClass', 'getAliasName', 'getOptions', 'isOptional', 'getName', 58 $request = new Request(); 59 $config = $this->createConfiguration(null, array()); 60 $objectManager = $this->getMock('Doctrine\Common\Persistence\ObjectManager'); 68 $request = new Request(); 69 $config = $this->createConfiguration(null, array(), 'arg', true); 70 $objectManager = $this->getMock('Doctrine\Common\Persistence\ObjectManager');Cookie.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 355 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/osl-3.0.php 11* If you did not receive a copy of the license and are unable to 23* @version Release: $Revision: 6851 $ 24* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25* International Registered Trademark & Property of PrestaShop SA 74 $this->_domain = $this->getDomain(); 75 if (Configuration::get('PS_CIPHER_ALGORITHM')) 76 $this->_cipherTool = new Rijndael(_RIJNDAEL_KEY_, _RIJNDAEL_IV_); 194 AND Employee::checkPassword((int)$this->id_employee, $this->passwd) 195 AND (!isset($this->_content['remote_addr']) OR $this->_content['remote_addr'] == ip2long(Tools::getRemoteAddr()) OR !Configuration::get('PS_COOKIE_CHECKIP')) 196 ); 296 } 297 if (PHP_VERSION_ID <= 50200) /* PHP version > 5.2.0 */ 298 return setcookie($this->_name, $content, $time, $this->_path, $this->_domain, 0);ServiceOptions.php git://github.com/twilio/twilio-php.git | PHP | 265 lines
1<?php 2 19 /** 20 * @param string $push Optional service level push factors configuration 21 * @param string $twilioAuthySandboxMode The Twilio-Authy-Sandbox-Mode HTTP 57 * @param string $friendlyName A human readable description of this resource. 58 * @param string $push Optional service level push factors configuration 59 * @param string $twilioAuthySandboxMode The Twilio-Authy-Sandbox-Mode HTTP 69 /** 70 * @param string $push Optional service level push factors configuration 71 * @param string $twilioAuthySandboxMode The Twilio-Authy-Sandbox-Mode HTTP 79 /** 80 * The optional service level push factors configuration. If present it must be a json string with the following format: {"notify_service_sid": "ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "include_date": true} 81 * 81 * 82 * @param string $push Optional service level push factors configuration 83 * @return $this Fluent BuilderSearch.php git://github.com/thorsten/phpMyFAQ.git | PHP | 353 lines
1<?php 2 3/** 4 * The phpMyFAQ Search class. 5 * 9 * 10 * @package phpMyFAQ 11 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 13 * @author Adrianna Musiol <musiol@imageaccess.de> 14 * @copyright 2008-2021 phpMyFAQ Team 15 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 15 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 16 * @link https://www.phpmyfaq.de 17 * @since 2008-01-26 19 20namespace phpMyFAQ; 21add.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 167 lines
1<?php 2# <one line to give a brief idea of what this does.> 25 26require_once('../include/init.php'); 27 44 # NOTE: because it was not really needed for the backend and frontend, 45 # the download host configuration per group type has been removed. 46 # However, if you really need Download type host that would be group 66 echo '<p>'._("The following form won't upload files. It will display a list of commands that you will have to copy and paste in a terminal.").'</p>'; 67 printf ('<p>'._("If you follow the directory organisation outlined below, the %s %s Filelist for your project%s (available once you have checked the corresponding box in your %s Project Public Info %s) will display the versions in a user friendly way. Otherwise, the visitor of your project will be presented a regular directory listing.").'</p>','<a href="'.$GLOBALS['sys_home'].'files/?group_id='.$group_id.'">',$GLOBALS['sys_name'],'</a>','<a href="'.$GLOBALS['sys_home'].'project/admin/editgroupinfo.php?group_id='.$group_id.'">','</a>'); 68 echo '<p>'._("The suggested layout is as follows:").'<br />'; 80 echo '<h2>'._("Getting a command list to upload the files:").'</h2>'; 81 echo '<form action="'. $_SERVER['PHP_SELF'] .'#list" method="get"> 82<table>';PartialHelper.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 390 lines
1<?php 2 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id: PartialHelper.php 10227 2008-07-11 19:36:32Z fabien $ 18 */ 62 // cannot find component slot 63 throw new sfConfigurationException(sprintf('The component slot "%s" is not set.', $name)); 64 } 160 * The partial name is composed as follows: 'mymodule/mypartial'. 161 * The partial file name is _mypartial.php and is looked for in modules/mymodule/templates/. 162 * If the partial name doesn't include a module name, 345 // cannot find component 346 throw new sfConfigurationException(sprintf('The component does not exist: "%s", "%s".', $moduleName, $componentName)); 347 }permissions.php git://github.com/CakeDC/users.git | PHP | 139 lines
1<?php 2/** 8 * @copyright Copyright 2010 - 2018, Cake Development Corporation (https://www.cakedc.com) 9 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 10 */ 13 * IMPORTANT: 14 * This is an example configuration file. Copy this file into your config directory and edit to 15 * setup your app permissions. 34 * 35 * (remember to add the 'uses' at the top of the permissions.php file for Hash, TableRegistry and Request 36 [serendipity_event_xhtmlcleanup.php git://github.com/s9y/Serendipity.git | PHP | 273 lines
1<?php 2 25 'smarty' => '2.6.7', 26 'php' => '4.1.0' 27 )); 61 $conf_array[] = 'youtube'; 62 $propbag->add('configuration', $conf_array); 63 }SystemController.php git://github.com/drupal/drupal.git | PHP | 330 lines
1<?php 2 101 // Check for status report errors. 102 if ($this->systemManager->checkRequirements() && $this->currentUser()->hasPermission('administer site configuration')) { 103 $this->messenger()->addError($this->t('One or more problems were detected with your Drupal installation. Check the <a href=":status">status report</a> for more information.', [':status' => Url::fromRoute('system.status')->toString()])); 228 $theme->incompatible_region = !isset($theme->info['regions']['content']); 229 $theme->incompatible_php = version_compare(phpversion(), $theme->info['php']) < 0; 230 // Confirm that all base themes are available. 235 $theme->operations = []; 236 if (!empty($theme->status) || !$theme->info['core_incompatible'] && !$theme->incompatible_php && !$theme->incompatible_base && !$theme->incompatible_engine) { 237 // Create the operations links.anekdotru.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 393 lines
1<?php 2// 5 6// configuration 7$howmanyrows = 100; // how many rows to select from database 12 13include("config.php"); 14LocalTaskDefaultTest.php git://github.com/drupal/drupal.git | PHP | 348 lines
1<?php 2 30 /** 31 * The used plugin configuration. 32 * 55 * 56 * @var \Drupal\Core\StringTranslation\TranslationInterface|\PHPUnit\Framework\MockObject\MockObject 57 */ 62 * 63 * @var \Drupal\Core\Routing\RouteProviderInterface|\PHPUnit\Framework\MockObject\MockObject 64 */FormatterPluginManager.php git://github.com/drupal/drupal.git | PHP | 210 lines
66 67 return new $plugin_class($plugin_id, $plugin_definition, $configuration['field_definition'], $configuration['settings'], $configuration['label'], $configuration['view_mode'], $configuration['third_party_settings']); 68 } 96 public function getInstance(array $options) { 97 $configuration = $options['configuration']; 98 $field_definition = $options['field_definition']; 102 if (!isset($options['prepare']) || $options['prepare'] == TRUE) { 103 $configuration = $this->prepareConfiguration($field_type, $configuration); 104 } 139 */ 140 public function prepareConfiguration($field_type, array $configuration) { 141 // Fill in defaults for missing properties. 153 $default_settings = $this->getDefaultSettings($configuration['type']); 154 $configuration['settings'] = array_intersect_key($configuration['settings'], $default_settings) + $default_settings; 155WebhookOptions.php git://github.com/twilio/twilio-php.git | PHP | 231 lines
24 */ 25 public static function create(string $configurationUrl = Values::NONE, string $configurationMethod = Values::NONE, array $configurationFilters = Values::ARRAY_NONE, array $configurationTriggers = Values::ARRAY_NONE, string $configurationFlowSid = Values::NONE, int $configurationRetryCount = Values::NONE): CreateWebhookOptions { 26 return new CreateWebhookOptions($configurationUrl, $configurationMethod, $configurationFilters, $configurationTriggers, $configurationFlowSid, $configurationRetryCount); 38 public static function update(string $configurationUrl = Values::NONE, string $configurationMethod = Values::NONE, array $configurationFilters = Values::ARRAY_NONE, array $configurationTriggers = Values::ARRAY_NONE, string $configurationFlowSid = Values::NONE, int $configurationRetryCount = Values::NONE): UpdateWebhookOptions { 39 return new UpdateWebhookOptions($configurationUrl, $configurationMethod, $configurationFilters, $configurationTriggers, $configurationFlowSid, $configurationRetryCount); 40 } 51 */ 52 public function __construct(string $configurationUrl = Values::NONE, string $configurationMethod = Values::NONE, array $configurationFilters = Values::ARRAY_NONE, array $configurationTriggers = Values::ARRAY_NONE, string $configurationFlowSid = Values::NONE, int $configurationRetryCount = Values::NONE) { 53 $this->options['configurationUrl'] = $configurationUrl; 99 */ 100 public function setConfigurationTriggers(array $configurationTriggers): self { 101 $this->options['configurationTriggers'] = $configurationTriggers; 146 */ 147 public function __construct(string $configurationUrl = Values::NONE, string $configurationMethod = Values::NONE, array $configurationFilters = Values::ARRAY_NONE, array $configurationTriggers = Values::ARRAY_NONE, string $configurationFlowSid = Values::NONE, int $configurationRetryCount = Values::NONE) { 148 $this->options['configurationUrl'] = $configurationUrl;Hybridauth.php git://github.com/hybridauth/hybridauth.git | PHP | 268 lines
1<?php 2/*! 21 * a sort of factory/façade which acts as an unified interface or entry point, and it expects a 22 * configuration array containing the list of providers you want to use, their respective credentials 23 * and authorized callback. 55 /** 56 * @param array|string $config Array with configuration or Path to PHP file that will return array 57 * @param HttpClientInterface $httpClientsavane.conf.pl git://git.savannah.gnu.org/administration.git | Perl | 239 lines
5# : sv_update_conf.pl,v 1.22 2004/02/14 19:28:55 yeupou Exp 6# Savannah Site Configuration: 7# Configuration file for a Savannah server 10# If you modify it, run sv_update_conf --update 11# to update the PHP version of this file. 12# You can recreate this file using sv_update_conf --recreate 17# IMPORTANT SECURITY NOTE. 18# Configuration files should be rwx-only for root and apache's 19# user (usually "www-data" on Debian GNU/Linux). 24# config parser and to permit hackers to create very efficient config 25# by using perl/php, if anybody can edit it, anybody can push savannah to 26# execute malicious code when looking for it's configuration. 50 # You can run Savannah with two different domain names. You'll be able 51 # to write a different configuration for each one. 52 # The two brother/companion sites will share the same database.PhortuneProviderEditController.php git://github.com/facebook/phabricator.git | PHP | 303 lines
1<?php 2 94 // from the list of properties to update (so we don't write "******" 95 // to permanent configuration. 96 $secrets = $provider->getAllConfigurableSecretProperties(); 98 foreach ($xaction_values as $key => $value) { 99 if ($provider->isConfigurationSecret($value)) { 100 unset($xaction_values[$key]); 103 104 if ($provider->canRunConfigurationTest()) { 105 $proxy = clone $provider; 111 try { 112 $proxy->runConfigurationTest(); 113 } catch (Exception $ex) {Config.php git://github.com/ci-bonfire/Bonfire.git | PHP | 379 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 79 * 80 * Sets the $config data from the primary config.php file as a class variable. 81 * 120 * 121 * @param string $file Configuration file name 122 * @param bool $use_sections Whether configuration values should be loaded into their own section 127 { 128 $file = ($file === '') ? 'config' : str_replace('.php', '', $file); 129 $loaded = FALSE; 184 185 show_error('The configuration file '.$file.'.php does not exist.'); 186 }Fl_Preferences.H http://luafltk.googlecode.com/svn/trunk/ | C Header | 289 lines
24// 25// http://www.fltk.org/str.php 26// 43 Registry on WIN32 and Preferences on MacOS, and provides a 44 simple configuration mechanism for UNIX. 45TheTVDBProvider.java git://github.com/tvrenamer/tvrenamer.git | Java | 271 lines
28import javax.xml.parsers.DocumentBuilderFactory; 29import javax.xml.parsers.ParserConfigurationException; 30import javax.xml.xpath.XPathExpressionException; 46 // Note, does not take API key. 47 private static final String BASE_SEARCH_URL = API_URL + "GetSeries.php?seriesname="; 48 166 bld = DocumentBuilderFactory.newInstance().newDocumentBuilder(); 167 } catch (ParserConfigurationException e) { 168 logger.log(Level.WARNING, "could not create DocumentBuilder: " + e.getMessage(), e); 213 dbf = DocumentBuilderFactory.newInstance().newDocumentBuilder(); 214 } catch (ParserConfigurationException e) { 215 logger.log(Level.WARNING, "could not create DocumentBuilder: " + e.getMessage(), e);ObjectRegistry.php git://github.com/josegonzalez/git-php.git | PHP | 392 lines
1<?php 2/** 2/** 3 * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) 4 * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) 10 * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) 11 * @link https://cakephp.org CakePHP(tm) Project 12 * @since 3.0.0 12 * @since 3.0.0 13 * @license https://opensource.org/licenses/mit-license.php MIT License 14 */ 27 * Provides registry & factory functionality for object types. Used 28 * as a super class for various composition based re-use features in CakePHP. 29 * 105 * 106 * If a duplicate is being loaded and has different configuration, that is 107 * bad and an exception will be raised.Resource.php git://github.com/silverstripe/sapphire.git | PHP | 473 lines
1<?php 2/** 18 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) 19 * @version $Id: Resource.php 23860 2011-04-14 17:03:28Z matthew $ 20 * @license http://framework.zend.com/license/new-bsd New BSD License 23/** Zend_Loader_Autoloader_Interface */ 24require_once 'Zend/Loader/Autoloader/Interface.php'; 25 64 * 65 * @param array|Zend_Config $options Configuration options for resource autoloader 66 * @return void 73 if (!is_array($options)) { 74 require_once 'Zend/Loader/Exception.php'; 75 throw new Zend_Loader_Exception('Options must be passed to resource loader constructor'); 83 ) { 84 require_once 'Zend/Loader/Exception.php'; 85 throw new Zend_Loader_Exception('Resource loader requires both a namespace and a base path for initialization');XWPFEventBasedWordExtractor.java https://github.com/apache/tika.git | Java | 384 lines
25import java.util.Map; 26import javax.xml.parsers.ParserConfigurationException; 27 51import org.apache.tika.parser.microsoft.ooxml.OOXMLWordAndPowerPointTextHandler; 52import org.apache.tika.parser.microsoft.ooxml.ParagraphProperties; 53import org.apache.tika.parser.microsoft.ooxml.RunProperties; 209 210 } catch (ParserConfigurationException e) { 211 LOG.warn("Can't configure XMLReader", e); 282 @Override 283 public void startParagraph(ParagraphProperties paragraphProperties) { 284 //no-opBootstrapper.cs https://mdownloader.svn.codeplex.com/svn | C# | 318 lines
43 private static string ApplicationDataFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"adma\MDownloader"); 44 private static RepositoryPointcut ConfigurationPointcut = new RepositoryPointcut("Configuration.xml"); 45 private static RepositoryPointcut HistoryPointcut = new RepositoryPointcut("History.xml"); 48 private static RepositoryPointcut Configuration_V2_V3 = new RepositoryPointcut("Configuration.V2.V3.xslt"); 49 private static RepositoryPointcut Configuration_V3_V4 = new RepositoryPointcut("Configuration.V3.V4.xslt"); 50 private static RepositoryPointcut Configuration_V4_V5 = new RepositoryPointcut("Configuration.V4.V5.xslt"); 91 92 private static IConfigurationService<Configuration> CreateConfigurationService(IServiceContainer container) 93 { 95 var assembly = new AssemblyRepositoryService(typeof(Bootstrapper).Assembly); 96 var service = new FileBasedConfigurationService<Configuration>(repository, Bootstrapper.ConfigurationPointcut); 97 196 { 197 var configuration = container.GetService<IConfigurationService<Configuration>>(); 198SearchResultSet.php git://github.com/thorsten/phpMyFAQ.git | PHP | 222 lines
11 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 12 * @copyright 2010-2021 phpMyFAQ Team 13 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 13 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 14 * @link https://www.phpmyfaq.de 15 * @since 2010-06-06 19 20use phpMyFAQ\Configuration; 21use phpMyFAQ\Faq\FaqPermission; 21use phpMyFAQ\Faq\FaqPermission; 22use phpMyFAQ\User; 23use phpMyFAQ\User\CurrentUser; 82 * @param FaqPermission $faqPermission 83 * @param Configuration $config Configuration object 84 */ServicesBuilder.php https://hg.codeplex.com/bukuphpjs | PHP | 413 lines
1<?php 2 14 * 15 * PHP version 5 16 * 18 * @package WindowsAzure\Common 19 * @author Azure PHP SDK <azurephpsdk@microsoft.com> 20 * @copyright 2012 Microsoft Corporation 21 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 22 * @link https://github.com/windowsazure/azure-sdk-for-php 23 */ 55 * @package WindowsAzure\Common 56 * @author Azure PHP SDK <azurephpsdk@microsoft.com> 57 * @copyright 2012 Microsoft Corporation 59 * @version Release: @package_version@ 60 * @link https://github.com/windowsazure/azure-sdk-for-php 61 */Makefile http://luafltk.googlecode.com/svn/trunk/ | Makefile | 312 lines
24# 25# http://www.fltk.org/str.php 26# 27 28# Get configuration stuff... 29include ../makeincludeconfig.php http://comet.googlecode.com/svn/trunk/ | PHP | 308 lines
1<?php 2/* 2/* 3 * ### CKFinder : Configuration File - Basic Instructions 4 * 41/* 42 Uncomment lines below to enable PHP error reporting and displaying PHP errors. 43 Do not do this on a production server. Might be helpful when debugging why CKFinder does not work as expected. 172type is nothing more than a way to group files under different paths, each one 173having different configuration settings. 174 218 219 - If "php" is on the denied extensions list, a file named foo.php cannot be 220 uploaded. 225 226In some conditions Apache can treat the foo.php.rar file just like any PHP 227script and execute it.EntityViewBuilder.php https://bitbucket.org/aswinvk28/smartpan-stock-drupal.git | PHP | 293 lines
1<?php 2 148 // Cache the rendered output if permitted by the view mode and global entity 149 // type configuration. 150 if ($this->isViewModeCacheable($view_mode) && !$entity->isNew() && !isset($entity->in_preview) && $this->entityType->isRenderCacheable()) {en.php http://yuan-pad.googlecode.com/svn/ | PHP | 233 lines
1<?php 2return array( 9 'SYS_INFO'=>'System Info', 10 'PHP_VERSION'=>'PHP Version', 11 'GD_VERSION'=>'GD Version', 12 'SAFE_MODE'=>'Safe Mode', 13 'SYS_CONF'=>'System Configuration', 14 'BOARD_NAME'=>'Board Name', 19 'TIMEZONE'=>'Timezone', 20 'POST_CONF'=>'Post Configuration', 21 'FILTER_WORDS'=>'Bad Words', 171 'SMILEY_DIR_NOTEXISTS'=>'The directory of smiley `%s` does not exists!', 172 'CONFIG_FILE_NOTEXISTS'=>'The configuration file {config_file} does not exists! <ul><li>Please copy the ./sites/default/default.config.php file to ./sites/default/config.php.</li><li>Change file permissions so that it is writable by the web server</li></ul>', 173 'CONFIG_FILE_NOTWRITABLE'=>'The configuration file {config_file} does not writable!', 203 'INSTALL'=>'Install', 204 'FINISHED'=>'<p>Installation finished! :) Go <a href="index.php">Index</a>, or Go <a href="index.php?action=control_panel">ACP</a></p><p>Dont\'t forget to delete or rename the file install.php in directory <code>includes</code></p>', 205 'RETRY'=>'Retry',image_optimizer.php git://github.com/gallery/gallery3-contrib.git | PHP | 343 lines
1<?php defined("SYSPATH") or die("No direct script access."); 2/** 94 } else { 95 $output = t("Invalid configuration"); 96 } 100 /** 101 * These functions supplement the rule functions in modules/gallery/helpers/graphics.php 102 * Note that all rule-changing functions in graphics.php trigger all images to be marked as dirty for rebuild, which we often want to avoid. 306 * make a unique temporary filename. this bit is inspired/copied from 307 * the system/libraries/Image.php save function and the system/libraries/drivers/Image/ImageMagick.php process function 308 */ 323 /** 324 * get stdin, stdout, or stderr from shell command. php commands like exec() don't do this. 325 * this is only used to get jpegtran's version info in the admin screen. 326 * 327 * see http://stackoverflow.com/questions/2320608/php-stderr-after-exec 328 */blameable.md git://github.com/l3pp4rd/DoctrineExtensions.git | Markdown | 645 lines
61 62Available configuration options: 63 75 76``` php 77<?php 168 169``` php 170<?php 266 267``` php 268<?php 403 404``` php 405<?phppage.tpl.php https://gitlab.com/leevh/dcyclesite.git | PHP | 213 lines
70 <hgroup class="site-name-wrap"> 71 <h1 class="site-name"><a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></h1> 72 <?php if ($site_slogan): ?><h2 class="site-slogan"><?php print $site_slogan; ?></h2><?php endif; ?> 154 <section id="content" class="grid_4" role="main"> 155 <?php if (theme_get_setting('breadcrumbs')): ?><?php if ($breadcrumb): ?><div id="breadcrumbs"><?php print $breadcrumb; ?></div><?php endif;?><?php endif; ?> 156 <?php print $messages; ?> 156 <?php print $messages; ?> 157 <?php if ($page['content_top']): ?><div id="content_top"><?php print render($page['content_top']); ?></div><?php endif; ?> 158 <div id="content-wrap"> 163 <?php print render($page['help']); ?> 164 <?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?> 165 <?php print render($page['content']); ?> 203 <div class="copyright"> 204 <?php print t('Copyright'); ?> © <?php echo date("Y"); ?>, <a href="<?php print $front_page; ?>"><?php print $site_name; ?></a><br/> 205 </div>Formatter.php git://github.com/johmue/mysql-workbench-schema-exporter.git | PHP | 432 lines
1<?php 2 107 * 108 * @param array $configurations Configurations data 109 * @return \MwbExporter\Formatter\Formatter 110 */ 111 protected function addConfigurations($configurations = array()) 112 { 112 { 113 foreach ($configurations as $key => $value) { 114 $this->registry->config->set($key, $value); 244 /** 245 * (non-PHPdoc) 246 * @see \MwbExporter\Formatter\FormatterInterface::createCatalog() 380 /** 381 * (non-PHPdoc) 382 * @see \MwbExporter\Formatter\FormatterInterface::getCommentTagPrefix()ViewStorageTest.php git://github.com/drupal/drupal.git | PHP | 350 lines
1<?php 2 20 /** 21 * Properties that should be stored in the configuration. 22 * 43 /** 44 * The configuration entity storage. 45 * 59 */ 60 public function testConfigurationEntityCRUD() { 61 // Get the configuration entity type and controller. 77 /** 78 * Tests loading configuration entities. 79 */ 113 /** 114 * Tests creating configuration entities. 115 */ExtractTaskTest.php git://github.com/cakephp/cakephp.git | PHP | 361 lines
1<?php 2/** 2/** 3 * CakePHP : Rapid Development Framework (http://cakephp.org) 4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 11 * @link http://cakephp.org CakePHP Project 12 * @since 1.2.0 12 * @since 1.2.0 13 * @license http://www.opensource.org/licenses/mit-license.php MIT License 14 */ 104 $pattern .= 'Hot features!'; 105 $pattern .= '\\\n - No Configuration: Set-up the database and let the magic begin'; 106 $pattern .= '\\\n - Extremely Simple: Just look at the name...It\'s Cake'; 106 $pattern .= '\\\n - Extremely Simple: Just look at the name...It\'s Cake'; 107 $pattern .= '\\\n - Active, Friendly Community: Join us #cakephp on IRC. We\'d love to help you get started'; 108 $pattern .= '"\nmsgstr ""/';Adapter.php http://skeleton.googlecode.com/svn/trunk/ | PHP | 362 lines
1<?php 2/** 2/** 3 * Adapter.php 4 * 4 * 5 * @license http://www.opensource.org/licenses/bsd-license.php BSD 6 * @link http://skeletonframework.com/ 45 * 46 * Must be passed a configuration array (or implementation of ArrayAccess). The configuration must contain key/value pairs with the information necessary to connect to the database. These options are common to most adapters: 47 * 69 /** 70 * Configure the internal settings. Will merge and overwrite existing settings. See the constructor for valid configuration keys (sans 'connection'). 71 * 239 * 240 * @param string $database If omitted, the database in the configuration will be used 241 */main.twig git://github.com/phpmyadmin/phpmyadmin.git | Twig Template | 131 lines
43 <input type="checkbox" id="import_merge" name="import_merge"> 44 <label for="import_merge"> {% trans 'Merge with current configuration' %} </label> 45 <br><br> 58 <div class="card-body"> 59 {{ 'You can set more settings by modifying config.inc.php, eg. by using %sSetup script%s.'|trans|format('<a href="setup/index.php" target="_blank">','</a>')|raw }} 60 {{ show_docu('setup', 'setup-script') }} 71 <div class="click-hide-message hide"> 72 {{ 'Configuration has been saved.'|trans|raw_success }} 73 </div> 82 </label><br> 83 <input type="radio" id="export_php_file" name="export_type" value="php_file"> 84 <label for="export_php_file"> 84 <label for="export_php_file"> 85 {% trans 'Save as PHP file' %} 86 </label><br>fckconfig.js https://NosoiFighters.svn.codeplex.com/svn | JavaScript | 329 lines
20 * 21 * Editor configuration settings. 22 * 23 * Follow this link for more information: 24 * http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options 25 */ 26 27FCKConfig.CustomConfigurationsPath = '' ; 28 167FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; 168FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl 169FCKConfig.FirefoxSpellChecker = false ; 278// Custom implementations should just ignore it. 279var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py 280var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | pyHtmlRenderer.php git://github.com/drupal/drupal.git | PHP | 350 lines
1<?php 2 74 /** 75 * The renderer configuration array. 76 * 98 * @param array $renderer_config 99 * The renderer configuration array. 100 */ 243 ->addCacheableDependency($event) 244 ->setConfiguration($event->getPluginConfiguration()); 245 // Some display variants need to be passed an array of contexts withGDToolkit.php git://github.com/drupal/drupal.git | PHP | 469 lines
52 * @see \Drupal\system\Plugin\ImageToolkit\GDToolkit::setResource() 53 * @see http://php.net/manual/function.getimagesize.php 54 */ 74 * @param array $configuration 75 * A configuration array containing information about the plugin instance. 76 * @param string $plugin_id 116 return new static( 117 $configuration, 118 $plugin_id, 161 */ 162 public function buildConfigurationForm(array $form, FormStateInterface $form_state) { 163 $form['image_jpeg_quality'] = [ 398 $requirements['version']['severity'] = REQUIREMENT_WARNING; 399 $requirements['version']['description'] = t('The GD Library for PHP is enabled, but was compiled without support for functions used by the rotate and desaturate effects. It was probably compiled using the official GD libraries from http://www.libgd.org instead of the GD library bundled with PHP. You should recompile PHP --with-gd using the bundled GD library. See <a href="http://php.net/manual/book.image.php">the PHP manual</a>.'); 400 }pub.php https://code.google.com/p/ipsumframeworks/ | PHP | 279 lines
164 <label class="oblig" for="texte">Texte</label> 165 <input name="texte" id="texte4" value="<?php echo htmlspecialchars($texte);?>"></input> 166 </div> 177 <p> 178 <?php echo $photo;?><br /><?php echo $lien_supp_photo;?> 179 </p> 210default: 211 include("include/entete.php"); 212 261 <td class="center"><?php echo $photo;?></td> 262 <td><a href="<?php echo htmlspecialchars($liste['url']);?>"><?php echo htmlspecialchars($liste['url']);?></a></td> 263 <td><?php echo TronquerTexte(strip_tags($liste['texte']));?></td> 263 <td><?php echo TronquerTexte(strip_tags($liste['texte']));?></td> 264 <td class="center"><a href="?cmd=saisie&id=<?php echo $liste['id'];?>&page=<?php echo $feedback['page'];?>" title="Modifier"><img src="images/modifier.png" alt="Modifier" /></a></td> 265 <td class="center"><?php echo '<a href="?cmd=supp&id='.$liste['id'].'&page='.$feedback['page'].'" class="supprimer" title="supprimer '.$liste['texte'].'"><img src="images/supprimer.png" alt="Supprimer" /></a>';?></td>WinLIRC.htm http://autohotkey-chinese.googlecode.com/svn/trunk/ | HTML | 299 lines
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<link rel="alternate" type="application/rss+xml" title="AutoHotkey Forum RSS" href="/forum/rss.php"> 8<link href="/docs/css/default.css" rel="stylesheet" type="text/css"> 43<em>; -------------------------------------------------</em> 44<em>; CONFIGURATION SECTION: Set your preferences here.</em> 45<em>; -------------------------------------------------</em> 117<em>; ----------------------------</em> 118<em>; END OF CONFIGURATION SECTION</em> 119<em>; ----------------------------</em>Common.cs https://openpdc.svn.codeplex.com/svn | C# | 218 lines
91 /// </summary> 92 /// <param name="configFileName">Path and file name of XML configuration file.</param> 93 /// <returns>Deserialized <see cref="IConfigurationFrame"/>.</returns> 93 /// <returns>Deserialized <see cref="IConfigurationFrame"/>.</returns> 94 public static IConfigurationFrame DeserializeConfigurationFrame(string configFileName) 95 { 95 { 96 IConfigurationFrame configFrame = null; 97 FileStream configFile = null; 101 configFile = File.Open(configFileName, FileMode.Open, FileAccess.Read, FileShare.Read); 102 configFrame = DeserializeConfigurationFrame(configFile); 103 } 117 /// <returns>Deserialized <see cref="IConfigurationFrame"/>.</returns> 118 public static IConfigurationFrame DeserializeConfigurationFrame(Stream configStream) 119 {MigrationPluginManager.php git://github.com/drupal/drupal.git | PHP | 272 lines
1<?php 2 65 * This method overrides DefaultPluginManager::getDiscovery() in order to 66 * search for migration configurations in the MODULENAME/migrations and 67 * MODULENAME/migration_templates directories. Throws a deprecation notice if 75 if (is_dir($directory . '/migration_templates')) { 76 @trigger_error('Use of the /migration_templates directory to store migration configuration files is deprecated in Drupal 8.1.0 and will be removed before Drupal 9.0.0. See https://www.drupal.org/node/2920988.', E_USER_DEPRECATED); 77 } 77 } 78 // But still accept configurations found in /migration_templates. 79 return [$directory . '/migration_templates', $directory . '/migrations']; 98 */ 99 public function createInstance($plugin_id, array $configuration = []) { 100 $instances = $this->createInstances([$plugin_id], [$plugin_id => $configuration]); 117 foreach ($plugin_ids as $plugin_id) { 118 $instances[$plugin_id] = $factory->createInstance($plugin_id, isset($configuration[$plugin_id]) ? $configuration[$plugin_id] : []); 119 }FieldInstancePerFormDisplayTest.php git://github.com/drupal/drupal.git | PHP | 185 lines
1<?php 2 15 16 protected $migrationConfiguration = array( 17 'id' => 'test_fieldinstance',defs.h http://rtems-at91sam9g20ek.googlecode.com/svn/trunk/ | C Header | 493 lines
22#ifndef CONFIG 23#define CONFIG "shttpd.conf" /* Configuration file */ 24#endif /* CONFIG */ 28#define HTTP_PORT "80" /* Default listening port */ 29#define INDEX_FILES "index.html index.htm index.php index.cgi" 30#define CGI_EXT ".cgi .pl .php" /* Default CGI extensions */ 133/* 134 * This is used only in embedded configuration. This structure holds a 135 * registered URI, associated callback function with callback data. 354 * string. For example, list of CGI extensions can be represented as 355 * ".cgi,.php,.pl", or ".cgi .php .pl". The macro that follows allows to 356 * loop through the individual values in that list.Glossary.php git://github.com/thorsten/phpMyFAQ.git | PHP | 393 lines
1<?php 2 9 * 10 * @package phpMyFAQ 11 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 11 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 12 * @copyright 2005-2021 phpMyFAQ Team 13 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 13 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 14 * @link https://www.phpmyfaq.de 15 * @since 2005-09-15 17 18namespace phpMyFAQ; 19 22 * 23 * @package phpMyFAQ 24 */StaticConfigTrait.php git://github.com/josegonzalez/git-php.git | PHP | 381 lines
2/** 3 * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) 4 * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) 10 * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) 11 * @link https://cakephp.org CakePHP(tm) Project 12 * @since 3.0.0 120 /** 121 * This method can be used to define configuration adapters for an application 122 * or read existing configuration. 123 * 124 * To change an adapter's configuration at runtime, first drop the adapter and then 125 * reconfigure it. 160 * @param array|null $config An array of name => configuration data for adapter. 161 * @return array|null Null when adding configuration or an array of configuration data when reading. 162 * @throws \BadMethodCallException When trying to modify an existing config.database.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 389 lines
1<?php 2# Database access wrappers, with quoting/escaping 31 32 // Test the presence of php-mysql - you get a puzzling blank page 33 // when it's not installed 34 if (!extension_loaded('mysql')) { 35 echo "Please install the MySQL extension for PHP: 36 <ul> 36 <ul> 37 <li>Debian-based: <code>aptitude install php4-mysql</code> 38 or <code>aptitude install php5-mysql</code></li> 38 or <code>aptitude install php5-mysql</code></li> 39 <li>Fedora Core: <code>yum install php-mysql</code></li> 40 </ul>"; 40 </ul>"; 41 echo "Check the <a href='{$GLOBALS['sys_url_topdir']}/testconfig.php'>configuration 42 page</a> and the <a href='http://php.net/mysql'>PHP website</a> forFaqHelper.php git://github.com/thorsten/phpMyFAQ.git | PHP | 238 lines
1<?php 2 3/** 4 * Helper class for phpMyFAQ FAQs. 5 * 9 * 10 * @package phpMyFAQ\Helper 11 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 11 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 12 * @copyright 2010-2021 phpMyFAQ Team 13 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 17 18namespace phpMyFAQ\Helper; 19 22use phpMyFAQ\Category; 23use phpMyFAQ\Configuration; 24use phpMyFAQ\Date;ObjectTypes.php git://github.com/stripe/stripe-php.git | PHP | 104 lines
1<?php 2 21 \Stripe\BankAccount::OBJECT_NAME => \Stripe\BankAccount::class, 22 \Stripe\BillingPortal\Configuration::OBJECT_NAME => \Stripe\BillingPortal\Configuration::class, 23 \Stripe\BillingPortal\Session::OBJECT_NAME => \Stripe\BillingPortal\Session::class,sfCrudGenerator.class.php http://opac-sbweb.googlecode.com/svn/trunk/ | PHP | 457 lines
1<?php 2 72 $theme = isset($this->params['theme']) ? $this->params['theme'] : 'default'; 73 $themeDir = $this->generatorManager->getConfiguration()->getGeneratorTemplate($this->getGeneratorClass(), $theme, ''); 74 if (!is_dir($themeDir)) 75 { 76 throw new sfConfigurationException(sprintf('The theme "%s" does not exist.', $theme)); 77 } 81 82 $this->generatePhpFiles($this->generatedModuleName, $files); 83 255 /** 256 * Returns PHP code to add to a URL for primary keys. 257 * 266 { 267 $phpName = $pk->getPhpName(); 268 $fieldName = sfInflector::underscore($phpName);Serializer.php git://github.com/ushahidi/Ushahidi_Web.git | PHP | 191 lines
1<?php 2 66 * Generates the file path to the serial file corresponding to 67 * the configuration and definition name 68 * @todo Make protected 172 } else { 173 // PHP's probably running as nobody, so we'll 174 // need to give global permissionsREADME.markdown https://github.com/DavertMik/doAuthPlugin.git | Markdown | 276 lines
2------------- 3Inspired by sfGuardPlugin an easy-to-use new authorization system. doAuth is ready to work out of the box with just a few configuration changes. It takes all the common user functionality - User authorization by login and password, registration, activation by email, password reset. If you don't need sfGuard permissions system but a simple user module that works, you should try doAuth. Great for a new symfony 1.4 projects. 4 8* Developer friendly: only 2 tables, model named 'User' that can be extended with Doctrine inheritance. 9* Highly configurable and customizable. You can extend classes, add your event handlers or just edit configuration to create custom behavior. 10* Standard emails are sent on registration, activation and password requests. 71 72 [php] 73 $user = $this->getUser(); 98 [php] 99 class frontendConfiguration extends sfApplicationConfiguration 100 { 102 { 103 $this->dispatcher->connect('routing.load_configuration', array('doAuthRouting', 'listenToRoutingLoadConfigurationEvent')); 104 }Socket.php https://github.com/dmolsen/MIT-Mobile-Web.git | PHP | 353 lines
18 * @subpackage Client_Adapter 19 * @version $Id: Socket.php 13013 2008-12-04 12:04:24Z yoshida@zend.co.jp $ 20 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) 23 24require_once 'Zend/Uri/Http.php'; 25require_once 'Zend/Http/Client/Adapter/Interface.php'; 28 * A sockets based (stream_socket_client) adapter class for Zend_Http_Client. Can be used 29 * on almost every PHP environment, and does not require any special extensions. 30 * 80 /** 81 * Set the configuration array for the adapter 82 * 87 if (! is_array($config)) { 88 require_once 'Zend/Http/Client/Adapter/Exception.php'; 89 throw new Zend_Http_Client_Adapter_Exception(UninstallTest.php git://github.com/drupal/drupal.git | PHP | 154 lines
1<?php 2 72 $this->drupalPostForm('admin/modules/uninstall', $edit, t('Uninstall')); 73 $this->assertNoText(\Drupal::translation()->translate('Configuration deletions'), 'No configuration deletions listed on the module install confirmation page.'); 74 $this->assertText(\Drupal::translation()->translate('Configuration updates'), 'Configuration updates listed on the module install confirmation page.'); 78 79 // Uninstall node testing that the configuration that will be deleted is 80 // listed. 84 $this->drupalPostForm('admin/modules/uninstall', $edit, t('Uninstall')); 85 $this->assertText(\Drupal::translation()->translate('Configuration deletions'), 'Configuration deletions listed on the module install confirmation page.'); 86 $this->assertNoText(\Drupal::translation()->translate('Configuration updates'), 'No configuration updates listed on the module install confirmation page.'); 132 133 $message = 'Exception thrown when installing module_installer_config_test with an invalid configuration file.'; 134 try { 141 142 // Even though the module failed to install properly, its configuration 143 // status is "enabled" and should still be available to uninstall.WidgetInterface.php git://github.com/drupal/drupal.git | PHP | 161 lines
1<?php 2 52 * contains the base form element properties derived from the field 53 * configuration. 54 *LanguageConfigFactoryOverride.php git://github.com/drupal/drupal.git | PHP | 237 lines
1<?php 2 17/** 18 * Provides language overrides for the configuration factory. 19 */ 24 /** 25 * The configuration storage. 26 * 34 /** 35 * An array of configuration storages keyed by langcode. 36 * 48 /** 49 * An event dispatcher instance to use for configuration events. 50 * 55 /** 56 * The language object used to override configuration data. 57 *KurogoSite.php git://github.com/modolabs/Kurogo-Mobile-Web.git | PHP | 319 lines
1<?php 2 51 if (strlen($urlBase)>0 && !preg_match("#^[a-z0-9_/.-]+$#i", $urlBase)) { 52 throw new KurogoConfigurationException("Invalid urlBase " . $config['urlBase']); 53 } 69 } else { 70 throw new KurogoConfigurationException('Invalid host "' . $config['host'] . '"'); 71 }LocalServer.php git://github.com/Codeception/Codeception.git | PHP | 296 lines
1<?php 2namespace Codeception\Coverage\Subscriber; 3 4use Codeception\Configuration; 5use Codeception\Coverage\SuiteSubscriber; 14/** 15 * When collecting code coverage data from local server HTTP requests are sent to c3.php file. 16 * Coverage Collection is started by sending cookies/headers. 75 CodeCoverage Error. 76 Check the file "c3.php" is included in your application. 77 We tried to access "/c3/report/clear" but this URI was not accessible. 105 } 106 $coverageFile = Configuration::outputDir() . 'c3tmp/codecoverage.serialized'; 107 113 if (!file_exists($coverageFile)) { 114 if (file_exists(Configuration::outputDir() . 'c3tmp/error.txt')) { 115 throw new \RuntimeException(file_get_contents(Configuration::outputDir() . 'c3tmp/error.txt'));serbian_lat.php http://vanphongphamdm.googlecode.com/svn/trunk/ | PHP | 118 lines
1<?php 2if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); 4* 5* @version : serbian.php 1071 21.12.2008 01:00:28Z thepisu $ 6* @package VirtueMart 9* @translator evil@serbianunderground.com 10* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php 11* VirtueMart is free software. This version may have been modified pursuant 14* other free or open source software licenses. 15* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details. 16* 21 'CHARSET' => 'utf-8', 22 'PHPSHOP_USER_FORM_FIRST_NAME' => 'Ime', 23 'PHPSHOP_USER_FORM_LAST_NAME' => 'Prezime', 106 'VM_EXPORT_CONFIG' => 'Export Extra Configuration', 107 'VM_EXPORT_CONFIG_TIP' => 'Define Export configuration for user-defined export modules or define additional configuration. Code must be valid PHP-Code.', 108 'VM_SHIPPING_MODULE_LIST_NAME' => 'Naziv',ErrorReportTest.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 364 lines
79 'configuration_storage' => 'disabled', 80 'php_version' => phpversion(), 81 'exception_type' => 'php', 319 [ 320 'https://pma.7.3.local/fileDotPhp.php?db=aaaaa;table=a;server=14', 321 [ 322 'fileDotPhp.php?', 323 'fileDotPhp.php', 324 ], 326 [ 327 'https://pma.7.3.local/secretFolder/fileDotPhp.php?db=aaaaa;table=a;server=14', 328 [ 329 'fileDotPhp.php?', 330 'fileDotPhp.php', 331 ],thai.php http://vanphongphamdm.googlecode.com/svn/trunk/ | PHP | 118 lines
1<?php 2if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); 4* 5* @version : thai.php 1071 2007-12-03 08:42:28Z thepisu $ 6* @package VirtueMart 9* @translator soeren 10* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php 11* VirtueMart is free software. This version may have been modified pursuant 14* other free or open source software licenses. 15* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details. 16* 21 'CHARSET' => 'ISO-8859-1', 22 'PHPSHOP_USER_FORM_FIRST_NAME' => '????', 23 'PHPSHOP_USER_FORM_LAST_NAME' => '???????', 106 'VM_EXPORT_CONFIG' => 'Export Extra Configuration', 107 'VM_EXPORT_CONFIG_TIP' => 'Define Export configuration for user-defined export modules or define additional configuration. Code must be valid PHP-Code.', 108 'VM_SHIPPING_MODULE_LIST_NAME' => 'Name',migration.adoc git://github.com/SpringSource/spring-data-neo4j.git | AsciiDoc | 227 lines
21You have to explicitly provide the configuration file now or configure the driver programmatically. 22See <<reference:configuration:driver, the configuration section>>. 23* The driver class name in the configuration is now inferred from connection URL. 30Spring Data Neo4j 4.2 significantly reduces complexity of configuration for application developers. 31There is no longer a need to extend from `Neo4jConfiguration` or define a `Session` bean. Configuration for various types 32of applications are described <<reference.getting_started.spring-configuration,here>> 33 341. Remove any subclassing of `Neo4jConfiguration` 352. Define the `sessionFactory` bean with an instance of `SessionFactory` and the `transactionManager` bean with an instance of `Neo4jTransactionManager`. Be sure to pass the `SessionFactory` into the constructor for the transaction manager. 66m| @RelatedToVia m| @Relationship 67m| @GraphProperty m| @Property 68m| @MapResult m| @QueryResult 101 102However, if your application already represented Dates as `@GraphProperty(propertyType = Long.class)` then simply changing this to 103`@DateLong` is sufficient.fr.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 88 lines
1<?php 2 12$_MODULE['<{themeinstallator}prestashop>themeinstallator_c186217583219f4cd040d9ee8d388ffb'] = 'Une erreur est survenue durant l\'extraction du fichier zip'; 13$_MODULE['<{themeinstallator}prestashop>themeinstallator_0210b6456cdccad569cb56026bb0f689'] = 'Mauvais fichier de configuration'; 14$_MODULE['<{themeinstallator}prestashop>themeinstallator_5b6cf869265c13af8566f192b4ab3d2a'] = 'Documentation'; 25$_MODULE['<{themeinstallator}prestashop>themeinstallator_df8703a4066393da85e8188261660717'] = 'Sélectionnez les modules du thčme que vous souhaitez installer'; 26$_MODULE['<{themeinstallator}prestashop>themeinstallator_7651cc4a979c5e21ee50de988ce574b0'] = 'Configuration des modules natifs'; 27$_MODULE['<{themeinstallator}prestashop>themeinstallator_8ab378b3ad05e14cbe61bff60c50afa6'] = 'Configuration actuelle'; 27$_MODULE['<{themeinstallator}prestashop>themeinstallator_8ab378b3ad05e14cbe61bff60c50afa6'] = 'Configuration actuelle'; 28$_MODULE['<{themeinstallator}prestashop>themeinstallator_f94545e00cff9d0395194458b2245702'] = 'Configuration du thčme'; 29$_MODULE['<{themeinstallator}prestashop>themeinstallator_130c5b3473c57faa76e2a1c54e26f88e'] = 'Les deux'; 29$_MODULE['<{themeinstallator}prestashop>themeinstallator_130c5b3473c57faa76e2a1c54e26f88e'] = 'Les deux'; 30$_MODULE['<{themeinstallator}prestashop>themeinstallator_c90ba3aaed0a2bafed18233111062cf0'] = 'Configuration des images du thčme'; 31$_MODULE['<{themeinstallator}prestashop>themeinstallator_2a84d9915b12fcb0c1436709a77a8dd0'] = 'Ajouter la nouvelle configuration'; 31$_MODULE['<{themeinstallator}prestashop>themeinstallator_2a84d9915b12fcb0c1436709a77a8dd0'] = 'Ajouter la nouvelle configuration'; 32$_MODULE['<{themeinstallator}prestashop>themeinstallator_dd3acd810b479275ce68d69e78ed7a95'] = 'Tout ajouter (vous risquez de perdre votre configuration actuelle)'; 33$_MODULE['<{themeinstallator}prestashop>themeinstallator_332efbbfb2c4bd5a37fd7a55659b821a'] = 'Ne rien changer';adminlib.php git://github.com/moodle/moodle.git | PHP | 372 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 26 27require_once($CFG->libdir . '/adminlib.php'); 28 47 $this->subtype = $subtype; 48 $url = new moodle_url('/mod/assign/adminmanageplugins.php', array('subtype'=>$subtype)); 49 parent::__construct('manage' . $subtype . 'plugins', 86/** 87 * Class that handles the display and configuration of the list of submission plugins. 88 * 106 public function __construct($subtype) { 107 $this->pageurl = new moodle_url('/mod/assign/adminmanageplugins.php', array('subtype'=>$subtype)); 108 $this->subtype = $subtype; 172 global $OUTPUT, $CFG; 173 require_once($CFG->libdir . '/tablelib.php'); 174class.configuration.php https://github.com/bauhouse/sym-designprojectx.git | PHP | 275 lines
9 * used throughout Symphony. The result of this class is a string containing 10 * a PHP representation of the properties (and their values) set by the Configuration. 11 * Symphony's configuration file is saved at `CONFIG`. The initial 14 */ 15class Configuration 16{ 173 * This magic `__toString` function converts the internal `$this->_properties` 174 * array into a string representation. Symphony generates the `MANIFEST/config.php` 175 * file in this manner. 175 * file in this manner. 176 * @see Configuration::serializeArray() 177 * @return string 230 $key = addslashes($key); 231 $string .= (is_numeric($key) ? PHP_EOL . "$tabs $key => " : PHP_EOL . "$tabs'$key' => "); 232 if (is_array($value)) {WebhookList.php git://github.com/twilio/twilio-php.git | PHP | 159 lines
1<?php 2 127 'Target' => $target, 128 'Configuration.Url' => $options['configurationUrl'], 129 'Configuration.Method' => $options['configurationMethod'], 129 'Configuration.Method' => $options['configurationMethod'], 130 'Configuration.Filters' => Serialize::map($options['configurationFilters'], function($e) { return $e; }), 131 'Configuration.Triggers' => Serialize::map($options['configurationTriggers'], function($e) { return $e; }), 131 'Configuration.Triggers' => Serialize::map($options['configurationTriggers'], function($e) { return $e; }), 132 'Configuration.FlowSid' => $options['configurationFlowSid'], 133 'Configuration.ReplayAfter' => $options['configurationReplayAfter'],rewrite.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 234 lines
1<?php 2 26 $reval = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; 27 $reval .= "<configuration>\n"; 28 $reval .= " <system.webServer>\n"; 34 $reval .= " <match url=\"^([a-z0-9-]+)/([a-zA-Z0-9-/]+)/$\" ignoreCase=\"false\" />\n"; 35 $reval .= " <action type=\"Rewrite\" url=\"index.php?" . NV_NAME_VARIABLE . "={R:1}&" . NV_OP_VARIABLE . "={R:2}\" appendQueryString=\"false\" />\n"; 36 $reval .= " </rule>\n"; 38 $reval .= " <match url=\"^([a-z0-9-]+)/([a-zA-Z0-9-/]+)$\" ignoreCase=\"false\" />\n"; 39 $reval .= " <action type=\"Rewrite\" url=\"index.php?" . NV_NAME_VARIABLE . "={R:1}&" . NV_OP_VARIABLE . "={R:2}\" appendQueryString=\"false\" />\n"; 40 $reval .= " </rule>\n"; 43 $reval .= " <match url=\"" . NV_ADMINDIR . "[/]*$\" ignoreCase=\"false\" />\n"; 44 $reval .= " <action type=\"Rewrite\" url=\"" . NV_ADMINDIR . "/index.php\" appendQueryString=\"false\" />\n"; 45 $reval .= " </rule>\n"; 49 $reval .= " <match url=\"" . DIR_FORUM . "[/]*$\" ignoreCase=\"false\" />\n"; 50 $reval .= " <action type=\"Rewrite\" url=\"" . DIR_FORUM . "/index.php\" appendQueryString=\"false\" />\n"; 51 $reval .= " </rule>\n";CrashReporter.java git://github.com/Illarion-eV/Illarion-Java.git | Java | 422 lines
48 /** 49 * This is the key used in the configuration to store and read the settings 50 * for the reporting system. 94 try { 95 result = new URL("https://illarion.org/mantis/api/soap/mantisconnect.php"); //$NON-NLS-1$ 96 } catch (@Nonnull MalformedURLException e) { 102 /** 103 * The configuration handler that is used for the settings of this class. 104 */ 242 /** 243 * Set the configuration that is used for this crash reporter. 244 * 244 * 245 * @param config the new configuration 246 */fckconfig.js https://aspnetvnportal.svn.codeplex.com/svn | JavaScript | 328 lines
20 * 21 * Editor configuration settings. 22 * 23 * Follow this link for more information: 24 * http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options 25 */ 26 27FCKConfig.CustomConfigurationsPath = '' ; 28 59// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%> 60// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code 61// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control> 166FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; 167FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl 168FCKConfig.FirefoxSpellChecker = false ;PDOAdapter.php git://github.com/semsol/arc2.git | PHP | 357 lines
63 if (false == isset($this->configuration['db_pdo_protocol'])) { 64 throw new \Exception('When using PDO the protocol has to be given (e.g. mysql). Please set db_pdo_protocol in database configuration.'); 65 } 65 } 66 $dsn = $this->configuration['db_pdo_protocol'].':host='.$this->configuration['db_host']; 67 if (isset($this->configuration['db_name'])) { 67 if (isset($this->configuration['db_name'])) { 68 $dsn .= ';dbname='.$this->configuration['db_name']; 69 } 72 $dsn .= ';port='; 73 $dsn .= isset($this->configuration['db_port']) ? $this->configuration['db_port'] : 3306; 74 93 94 // from source: http://php.net/manual/de/ref.pdo-mysql.php 95 // If this attribute is set to TRUE on a PDOStatement, the MySQL driver will useTaskHandler.php http://opac-sbweb.googlecode.com/svn/trunk/ | PHP | 235 lines
1<?php 2/* 2/* 3 * $Id: TaskHandler.php 147 2007-02-06 20:32:22Z hans $ 4 * 21 22include_once 'phing/UnknownElement.php'; 23 68 * the element, if this element is contained within a target. 69 * Otherwise the configuration is performed with the configure method. 70 * @see ProjectHelper::configure(Object,AttributeList,Project)PhabricatorPolicy.php git://github.com/facebook/phabricator.git | PHP | 515 lines
1<?php 2 23 24 protected function getConfiguration() { 25 return array( 39 ), 40 ) + parent::getConfiguration(); 41 }FludgeLogger.as http://flash-web.googlecode.com/svn/trunk/ | ActionScript | 220 lines
26 * directly enables you to switch between almost every available Logging API without 27 * having to change the logging calls, but just the underlying configuration on 28 * startup. 31 * @see org.as2lib.env.log.handler.FludgeHandler 32 * @see <a href="http://www.osflash.org/doku.php?id=fludge">Fludge</a> 33 */setup_smokeping.sh http://hm2k.googlecode.com/svn/trunk/ | Shell | 111 lines
3# @see http://lzheng.blogspot.com/2007/02/install-smokeping-via-yum.html 4# @see http://slog.carlheaton.co.uk/index.php/2009/06/centos-5-3-smokeping-2-4-2-install-quick/ 5 68 69# Configuration 70create.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 263 lines
6 <form action="<?php bp_group_creation_form_action() ?>" method="post" id="create-group-form" class="standard-form" enctype="multipart/form-data"> 7 <h3><?php _e( 'Create a Group', 'buddypress' ) ?> <a class="button" href="<?php echo bp_get_root_domain() . '/' . BP_GROUPS_SLUG . '/' ?>"><?php _e( 'Groups Directory', 'buddypress' ) ?></a></h3> 8 44 <div class="checkbox"> 45 <label><input type="checkbox" name="group-show-wire" id="group-show-wire" value="1"<?php if ( bp_get_new_group_enable_wire() ) { ?> checked="checked"<?php } ?> /> <?php _e('Enable comment wire', 'buddypress') ?></label> 46 </div> 51 <div class="checkbox"> 52 <label><input type="checkbox" name="group-show-forum" id="group-show-forum" value="1"<?php if ( bp_get_new_group_enable_forum() ) { ?> checked="checked"<?php } ?> /> <?php _e('Enable discussion forum', 'buddypress') ?></label> 53 </div> 56 <div class="checkbox"> 57 <label><input type="checkbox" disabled="disabled" name="disabled" id="disabled" value="0" /> <?php printf( __('<strong>Attention Site Admin:</strong> Group forums require the <a href="%s">correct setup and configuration</a> of a bbPress installation.', 'buddypress' ), bp_get_root_domain() . '/wp-admin/admin.php?page=bb-forums-setup' ) ?></label> 58 </div> 190 <div class="action"> 191 <a class="remove" href="<?php bp_group_invite_user_remove_invite_url() ?>" id="<?php bp_group_invite_item_id() ?>"><?php _e( 'Remove Invite', 'buddypress' ) ?></a> 192 </div>AdminShipping.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 306 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/osl-3.0.php 11* If you did not receive a copy of the license and are unable to 23* @version Release: $Revision: 8861 $ 24* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25* International Registered Trademark & Property of PrestaShop SA 34 $this->table = 'delivery'; 35 $currency = new Currency(Configuration::get('PS_CURRENCY_DEFAULT')); 36 39 'PS_SHIPPING_FREE_PRICE' => array('title' => $this->l('Free shipping starts at'), 'suffix' => $currency, 'validation' => 'isPrice', 'cast' => 'floatval'), 40 'PS_SHIPPING_FREE_WEIGHT' => array('title' => $this->l('Free shipping starts at'), 'suffix' => Configuration::get('PS_WEIGHT_UNIT'), 'validation' => 'isUnsignedFloat', 'cast' => 'floatval'), 41 'PS_SHIPPING_METHOD' => array('title' => $this->l('Billing'), 'validation' => 'isBool', 'cast' => 'intval')); 68 69 /* Update configuration values */ 70 if (!sizeof($this->_errors))managing-migrations.rst https://github.com/doctrine/migrations.git | ReStructuredText | 374 lines
4Managing migrations with Doctrine is easy. You can execute migrations from the console and easily revert them. You also 5have the option to write the SQL for a migration to a file instead of executing it from PHP. 6 16 17 == Configuration 18 22 >> Database Name: migrations_docs_example 23 >> Configuration Source: /data/doctrine/migrations-docs-example/migrations.php 24 >> Version Table Name: doctrine_migration_versions 191 >> Database Name: migrations_docs_example 192 >> Configuration Source: /data/doctrine/migrations-docs-example/migrations.php 193 >> Version Table Name: doctrine_migration_versions 251 >> Database Name: migrations_docs_example 252 >> Configuration Source: /data/doctrine/migrations-docs-example/migrations.php 253 >> Version Table Name: doctrine_migration_versionsDatetimeField.php git://github.com/silverstripe/sapphire.git | PHP | 362 lines
1<?php 2 9 * 10 * # Configuration 11 * 23 * - "timezone": Set a different timezone for viewing. {@link dataValue()} will still save 24 * the time in PHP's default timezone (date_default_timezone_get()), its only a view setting. 25 * Note that the sub-fields ({@link getDateField()} and {@link getTimeField()}) 331 * 332 * @param String $name Optional, returns the whole configuration array if empty 333 * @return mixedConfigFile.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 566 lines
94 * @param array|null $baseConfig base configuration read from 95 * {@link PhpMyAdmin\Config::$base_config}, 96 * use only when not in PMA Setup 179 /** 180 * Resets configuration data 181 */ 187 /** 188 * Sets configuration data (overrides old data) 189 * 189 * 190 * @param array $cfg Configuration options 191 */ 340 * Returns default config value or $default it it's not set ie. it doesn't 341 * exist in {@see \PhpMyAdmin\Config\Settings} ($cfg) and config.values.php 342 * ($_cfg_db['_overrides'])SystemNotificationsConfig.php git://github.com/ryancramerdesign/ProcessWire.git | PHP | 204 lines
1<?php 2 3/** 4 * Configuration class for the SystemNotifications module 5 * 192 193 include_once(dirname(__FILE__) . "/Notification.php"); 194serendipity_event_bbcode.php git://github.com/s9y/Serendipity.git | PHP | 332 lines
1<?php 2 23 'smarty' => '2.6.7', 24 'php' => '4.1.0' 25 )); 54 } 55 $propbag->add('configuration', $conf_array); 56 } 86 87 case 'php': 88 if (substr($input, 0, 2) != '<?') { 88 if (substr($input, 0, 2) != '<?') { 89 $input = "<?php\n\n$input\n\n?>"; 90 } 269 270.bb-quote, .bb-code, .bb-php, .bb-code-title, .bb-php-title { 271 margin-left: 20px;MemoryManager_8hpp.html git://pkgs.fedoraproject.org/xqilla | HTML | 72 lines
6</head><body> 7<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a> 8<!-- Generated by Doxygen 1.6.1 --> 38<map name="MemoryManager_8hppdep_map" id="MemoryManager_8hppdep"> 39<area shape="rect" href="XQilla_8hpp.html" title="XQilla.hpp" alt="" coords="548,315,628,344"/><area shape="rect" href="XQillaConfiguration_8hpp.html" title="XQillaConfiguration.hpp" alt="" coords="203,392,357,421"/><area shape="rect" href="ReferenceCounted_8hpp.html" title="ReferenceCounted.hpp" alt="" coords="2565,83,2717,112"/><area shape="rect" href="XPath2MemoryManager_8hpp.html" title="XPath2MemoryManager.hpp" alt="" coords="3199,237,3383,267"/><area shape="rect" href="StringPool_8hpp.html" title="StringPool.hpp" alt="" coords="2847,83,2951,112"/><area shape="rect" href="xqilla-simple_8hpp.html" title="xqilla-simple.hpp" alt="" coords="1303,624,1420,653"/><area shape="rect" href="StaticContext_8hpp.html" title="StaticContext.hpp" alt="" coords="2639,392,2764,421"/><area shape="rect" href="FastXDMConfiguration_8hpp.html" title="FastXDMConfiguration.hpp" alt="" coords="192,547,368,576"/><area shape="rect" href="XercesConfiguration_8hpp.html" title="XercesConfiguration.hpp" alt="" coords="5,547,168,576"/><area shape="rect" href="XQQuery_8hpp.html" title="XQQuery.hpp" alt="" coords="2761,469,2860,499"/><area shape="rect" href="DynamicContext_8hpp.html" title="DynamicContext.hpp" alt="" coords="2596,469,2737,499"/><area shape="rect" href="ContextHelpers_8hpp.html" title="ContextHelpers.hpp" alt="" coords="2599,547,2735,576"/><area shape="rect" href="EventGenerator_8hpp.html" title="EventGenerator.hpp" alt="" coords="2697,315,2833,344"/><area shape="rect" href="Item_8hpp.html" title="Item.hpp" alt="" coords="2700,160,2772,189"/><area shape="rect" href="Timezone_8hpp.html" title="Timezone.hpp" alt="" coords="1228,392,1332,421"/><area shape="rect" href="AnyAtomicType_8hpp.html" title="AnyAtomicType.hpp" alt="" coords="1908,237,2047,267"/><area shape="rect" href="FunctionRef_8hpp.html" title="FunctionRef.hpp" alt="" coords="3063,392,3177,421"/><area shape="rect" href="StackFrame_8hpp.html" title="StackFrame.hpp" alt="" coords="2679,237,2793,267"/><area shape="rect" href="Result_8hpp.html" title="Result.hpp" alt="" coords="3041,315,3124,344"/><area shape="rect" href="ResultImpl_8hpp.html" title="ResultImpl.hpp" alt="" coords="2817,237,2924,267"/><area shape="rect" href="EventHandler_8hpp.html" title="EventHandler.hpp" alt="" coords="755,315,877,344"/><area shape="rect" href="ATAnySimpleType_8hpp.html" title="ATAnySimpleType.hpp" alt="" coords="1396,315,1548,344"/><area shape="rect" href="ATAnyURIOrDerived_8hpp.html" title="ATAnyURIOrDerived.hpp" alt="" coords="2167,392,2329,421"/><area shape="rect" href="ATBase64BinaryOrDerived_8hpp.html" title="ATBase64BinaryOrDerived.hpp" alt="" coords="1623,315,1823,344"/><area shape="rect" href="ATBooleanOrDerived_8hpp.html" title="ATBooleanOrDerived.hpp" alt="" coords="2353,392,2521,421"/><area shape="rect" href="ATDurationOrDerived_8hpp.html" title="ATDurationOrDerived.hpp" alt="" coords="1204,315,1372,344"/><area shape="rect" href="ATHexBinaryOrDerived_8hpp.html" title="ATHexBinaryOrDerived.hpp" alt="" coords="2015,315,2193,344"/><area shape="rect" href="ATNotationOrDerived_8hpp.html" title="ATNotationOrDerived.hpp" alt="" coords="2217,315,2385,344"/><area shape="rect" href="ATQNameOrDerived_8hpp.html" title="ATQNameOrDerived.hpp" alt="" coords="2511,315,2673,344"/><area shape="rect" href="ATStringOrDerived_8hpp.html" title="ATStringOrDerived.hpp" alt="" coords="1817,392,1969,421"/><area shape="rect" href="ATUntypedAtomic_8hpp.html" title="ATUntypedAtomic.hpp" alt="" coords="2096,469,2248,499"/><area shape="rect" href="DateOrTimeType_8hpp.html" title="DateOrTimeType.hpp" alt="" coords="1056,392,1200,421"/><area shape="rect" href="Numeric_8hpp.html" title="Numeric.hpp" alt="" coords="1847,315,1940,344"/><area shape="rect" href="StaticType_8hpp.html" title="StaticType.hpp" alt="" coords="2908,315,3017,344"/><area shape="rect" href="ContentSequenceFilter_8hpp.html" title="ContentSequenceFilter.hpp" alt="" coords="727,392,905,421"/><area shape="rect" href="EventSerializer_8hpp.html" title="EventSerializer.hpp" alt="" coords="961,547,1095,576"/><area shape="rect" href="ItemFactory_8hpp.html" title="ItemFactory.hpp" alt="" coords="1639,547,1753,576"/><area shape="rect" href="ATDateOrDerived_8hpp.html" title="ATDateOrDerived.hpp" alt="" coords="483,469,629,499"/><area shape="rect" href="ATDateTimeOrDerived_8hpp.html" title="ATDateTimeOrDerived.hpp" alt="" coords="1795,469,1971,499"/><area shape="rect" href="ATTimeOrDerived_8hpp.html" title="ATTimeOrDerived.hpp" alt="" coords="1621,469,1771,499"/><area shape="rect" href="ATGDayOrDerived_8hpp.html" title="ATGDayOrDerived.hpp" alt="" coords="1235,469,1387,499"/><area shape="rect" href="ATGMonthDayOrDerived_8hpp.html" title="ATGMonthDayOrDerived.hpp" alt="" coords="1411,469,1597,499"/><area shape="rect" href="ATGMonthOrDerived_8hpp.html" title="ATGMonthOrDerived.hpp" alt="" coords="1045,469,1211,499"/><area shape="rect" href="ATGYearMonthOrDerived_8hpp.html" title="ATGYearMonthOrDerived.hpp" alt="" coords="832,469,1021,499"/><area shape="rect" href="ATGYearOrDerived_8hpp.html" title="ATGYearOrDerived.hpp" alt="" coords="653,469,808,499"/><area shape="rect" href="StaticAnalysis_8hpp.html" title="StaticAnalysis.hpp" alt="" coords="2908,392,3039,421"/><area shape="rect" href="Sequence_8hpp.html" title="Sequence.hpp" alt="" coords="3364,315,3468,344"/><area shape="rect" href="DocumentCache_8hpp.html" title="DocumentCache.hpp" alt="" coords="3199,315,3340,344"/><area shape="rect" href="UpdateFactory_8hpp.html" title="UpdateFactory.hpp" alt="" coords="3204,392,3335,421"/></map> 40</div>ui.controller.inc git://pkgs.fedoraproject.org/drupal7-rules | Pascal | 316 lines
1<?php 2 16 /** 17 * Generates menu items to manipulate rules configurations. 18 * 19 * @param $base_path 20 * The path to the overview page from where the configurations are edited. 21 */ 159 /** 160 * Generates the render array for a overview configuration table for arbitrary 161 * rule configs that match the given conditions. 163 * Note: The generated overview table contains multiple links for editing the 164 * rule configurations. For the links to properly work use 165 * RulesUIController::config_menu($base_path) to generate appropriate menuXmlReferenceDumper.php git://github.com/fabpot/symfony.git | PHP | 303 lines
1<?php 2 14use Symfony\Component\Config\Definition\ArrayNode; 15use Symfony\Component\Config\Definition\ConfigurationInterface; 16use Symfony\Component\Config\Definition\EnumNode; 20/** 21 * Dumps a XML reference configuration for the given configuration/node instance. 22 * 28 29 public function dump(ConfigurationInterface $configuration, string $namespace = null) 30 { 30 { 31 return $this->dumpNode($configuration->getConfigTreeBuilder()->buildTree(), $namespace); 32 } 191 $multiline = (\count($commentLines) > 1); 192 $comment = implode(PHP_EOL.str_repeat(' ', $commentDepth), $commentLines); 193bltGrHairs.c git://pkgs.fedoraproject.org/blt | C | 545 lines
141static void 142TurnOnHairs(graphPtr, chPtr) 143 Graph *graphPtr; 149 } 150 XDrawSegments(graphPtr->display, Tk_WindowId(graphPtr->tkwin), 151 chPtr->gc, chPtr->segArr, 2); 234 if (!graphPtr->crosshairs->hidden) { 235 TurnOnHairs(graphPtr, graphPtr->crosshairs); 236 } 243 if (!graphPtr->crosshairs->hidden) { 244 TurnOffHairs(graphPtr->tkwin, graphPtr->crosshairs); 245 } 325 326 if (Blt_ConfigureWidgetComponent(graphPtr->interp, graphPtr->tkwin, 327 "crosshairs", "Crosshairs", configSpecs, 0, (char **)NULL,ConversionServiceTests.java git://github.com/SpringSource/spring-data-neo4j.git | Java | 264 lines
32import org.springframework.context.annotation.ComponentScan; 33import org.springframework.context.annotation.Configuration; 34import org.springframework.core.convert.ConversionService; 42import org.springframework.data.neo4j.test.Neo4jIntegrationTest; 43import org.springframework.test.context.ContextConfiguration; 44import org.springframework.test.context.junit4.SpringRunner; 60@RunWith(SpringRunner.class) 61@ContextConfiguration(classes = ConversionServiceTests.ConversionServicePersistenceContext.class) 62public class ConversionServiceTests { 70 // modified heavily be this test. This needs to be fixed in the near future. 71 // Also it doesn't test conversion with `graphPropertyType` attribute and a standard Spring Converter. 72 @Autowired private MetaDataDrivenConversionService conversionService; 253 254 @Configuration 255 @Neo4jIntegrationTest(domainPackages = "org.springframework.data.neo4j.integration.conversion.domain",LegacyRSSDataParser.php git://github.com/modolabs/Kurogo-Mobile-Web.git | PHP | 276 lines
1<?php 2 192 if (!class_exists($channelClass)) { 193 throw new KurogoConfigurationException("Cannot load class $channelClass"); 194 } 202 if (!class_exists($itemClass)) { 203 throw new KurogoConfigurationException("Cannot load class $itemClass"); 204 } 212 if (!class_exists($enclosureClass)) { 213 throw new KurogoConfigurationException("Cannot load class $enclosureClass"); 214 } 222 if (!class_exists($imageClass)) { 223 throw new KurogoConfigurationException("Cannot load class $imageClass"); 224 }Router.php git://github.com/fabpot/symfony.git | PHP | 208 lines
1<?php 2 72 try { 73 $containerFile = ($this->paramFetcher)('kernel.cache_dir').'/'.($this->paramFetcher)('kernel.container_class').'.php'; 74 if (file_exists($containerFile)) { 88 * 89 * @return string[] A list of classes to preload on PHP 7.4+ 90 */ 177 if (preg_match('/^env\((?:\w++:)*+\w++\)$/', $match[1])) { 178 throw new RuntimeException(sprintf('Using "%%%s%%" is not allowed in routing configuration.', $match[1])); 179 } 192 193 throw new RuntimeException(sprintf('The container parameter "%s", used in the route configuration value "%s", must be a string or numeric, but it is of type "%s".', $match[1], $value, get_debug_type($resolved))); 194 }, $value);download.html http://rubystudy.googlecode.com/svn/trunk/ | HTML | 215 lines
79 <tr> 80 <td><a class="external" href="http://sourceforge.net/project/showfiles.php?group_id=23523&package_id=16338&release_id=629858">2.8</a></td> 81 <td>19 Nov 2008</td> 99 <tr> 100 <td><a class="external" href="http://sourceforge.net/project/showfiles.php?group_id=23523&package_id=16338&release_id=513002">2.7</a></td> 101 <td>13 Jun 2007</td> 131 <td>27 Jan 2006</td> 132 <td>Preconfiguration of project element (project template). Reporting application shows results of fitness tests. ClearCaseAuditLogger, ClearCaseViewstrapper, CurrentBuildStatusPageListener, FormattedLabelIncrementer, LockFileBootstrapper, LockFileListener, DeleteManipulator, GZIPManipulator, SfeeFrsPublisher, SfeeTrackerPublisher, SfeeDocumentManagerPublisher, UCM.</td> 133 </tr> 134 <tr> 135 <td><a class="external" href="http://sourceforge.net/project/showfiles.php?group_id=23523&package_id=16338&release_id=359898">2.3.1</a></td> 136 <td>10 Oct 2005</td> 136 <td>10 Oct 2005</td> 137 <td>Expand property substitution in configuration file. Preconfiguration of subelements. Can get/set config file via JMX.</td> 138 </tr>SessionTest.php git://github.com/cakephp/cakephp.git | PHP | 541 lines
1<?php 2/** 2/** 3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 11 * @link http://cakephp.org CakePHP(tm) Project 12 * @since 1.2.0 12 * @since 1.2.0 13 * @license http://www.opensource.org/licenses/mit-license.php MIT License 14 */ 106 /** 107 * test setting ini properties with Session configuration. 108 * 408 $session = new Session(); 409 $key = "a'] = 1; phpinfo(); \$_SESSION['a"; 410 $session->write($key, 'haxored');elementindex_reportico.html http://mcmis.googlecode.com/svn/trunk/ | HTML | 190 lines
148 <ul> 149 <li type="square"><a href="reportico/tutorial_reportico.appendix1.pkg.html">Appendix 1 - Reportico Project Configuration parameters</a> 150</ul> 157 <div class="package"> 158 <a href="reportico/_reportico.php.html"> reportico.php 159 </a><br> 175 <dt><b>reportico.php</b></dt> 176 <dd>procedural page <a href="reportico/_reportico.php.html">reportico.php</a></dd> 177 </dl> 181 <hr /> 182 Documentation generated on Fri, 14 Oct 2011 23:43:40 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a> 183 </div>translate_m.php http://twpug.googlecode.com/svn/trunk/ | PHP | 207 lines
1<?php 2// Configuration area start 23?> 24<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="<?php echo $lang; ?>"> 25 26 <head> 27 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $encode; ?>" /> 28 <style type="text/css"> 45Modules :<select name="kfolder"> 46<?php 47$dir = "modules"; 49 while (($folder = readdir($dh)) !== false) { 50 if(is_dir($dir.'/'.$folder)&&$folder!='..'&&$folder!='.'&&file_exists($dir.'/'.$folder.'/language/en_us.lang.php')) { 51 echo '<option'; 67 @unlink('modules/'.$_GET['kfolder'].'/language/'.$lang.'.lang.php_old'); 68 @copy('modules/'.$_GET['kfolder'].'/language/'.$lang.'.lang.php', 'modules/'.$_GET['kfolder'].'/language/'.$lang.'.lang.php_old'); 69 $fd = fopen('modules/'.$_GET['kfolder'].'/language/'.$lang.'.lang.php', 'w');02_Routing.md git://github.com/silverstripe/sapphire.git | Markdown | 297 lines
17These routes by standard, go into a `routes.yml` file in your applications `_config` folder alongside your other 18[Configuration](../configuration) information. 19 36[notice] 37To understand the syntax for the `routes.yml` file better, read the [Configuration](../configuration) documentation. 38[/notice] 57 58```php 59// GET /teams/ 95 96```php 97// GET /teams/players/1/ 154 155```php 156<?phpPluginCollection.php git://github.com/josegonzalez/git-php.git | PHP | 270 lines
2/** 3 * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) 4 * Copyright 2005-2011, Cake Software Foundation, Inc. (https://cakefoundation.org) 9 * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) 10 * @link https://cakephp.org CakePHP(tm) Project 11 * @since 3.6.0 68 /** 69 * Load the path information stored in vendor/cakephp-plugins.php 70 * 82 } 83 $vendorFile = dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'cakephp-plugins.php'; 84 if (!file_exists($vendorFile)) { 84 if (!file_exists($vendorFile)) { 85 $vendorFile = dirname(dirname(dirname(dirname(__DIR__)))) . DIRECTORY_SEPARATOR . 'cakephp-plugins.php'; 86 if (!file_exists($vendorFile)) {ResourceBase.php git://github.com/drupal/drupal.git | PHP | 237 lines
1<?php 2 46 * 47 * @param array $configuration 48 * A configuration array containing information about the plugin instance. 57 */ 58 public function __construct(array $configuration, $plugin_id, $plugin_definition, array $serializer_formats, LoggerInterface $logger) { 59 parent::__construct($configuration, $plugin_id, $plugin_definition); 66 */ 67 public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) { 68 return new static( 68 return new static( 69 $configuration, 70 $plugin_id,Constants.php git://github.com/jv2222/ezSQL.git | PHP | 185 lines
1<?php 2 16 \define('MISSING_CONFIGURATION', '<b>Fatal Error:</b> Missing configuration details to connect to database'); 17 \define('CONFIGURATION_REQUIRES', '<b>Fatal Error:</b> This configuration requires ezsqlModel (ezsqlModel.php) to be included/loaded before it can be used'); 18 \define('FAILED_CONNECTION', 'Failed to make connection to database');