PageRenderTime 2227ms queryTime 190ms sortTime 527ms getByIdsTime 54ms findMatchingLines 96ms

100+ results results for 'php log repo:skobkin/referal_link_distributor' (2227 ms)

Not the results you expected?
DiffPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 365 lines
                    
53import java.util.logging.Level;
                    
54import java.util.logging.Logger;
                    
55import javax.swing.JButton;
                    
84
                    
85    static final Logger LOGGER = Logger.getLogger(DiffPanel.class.getName());
                    
86
                    
133        descriptor.setValid(false);
                    
134        Dialog dialog = DialogDisplayer.getDefault().createDialog(descriptor);
                    
135        setDiffView();
                    
292        } catch (IOException ex) {
                    
293            LOGGER.log(Level.WARNING, null, ex);
                    
294            showError(Bundle.DiffPanel_error_copyContent());
                    
300        } catch (IOException ex) {
                    
301            LOGGER.log(Level.WARNING, null, ex);
                    
302            showError(Bundle.DiffPanel_error_opening());
                    
                
File.php https://gitlab.com/rsilveira1987/Expresso | PHP | 473 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Storage
                    
18 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
21 */
                    
26 * @subpackage Storage
                    
27 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
28 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
218         */
                    
219        if (PHP_INT_SIZE > 4) {
                    
220            settype($value, 'integer');
                    
                
Descarte.php https://gitlab.com/SFMSP/Hagape | PHP | 346 lines
                    
1<?php
                    
2
                    
235        } catch (\Exception $ex) {
                    
236            $this->log->log(\Zend\Log\Logger::ERR, $ex->getMessage());
                    
237            $this->getEm()->rollback();
                    
339        } catch (\Exception $ex) {
                    
340            $this->log->log(\Zend\Log\Logger::ERR, $ex->getMessage());
                    
341            $this->getEm()->rollback();
                    
                
Batch.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 514 lines
                    
1<?php
                    
2
                    
24  /**
                    
25   * Should CiviCRM log any modifications to this table in the civicrm_log table.
                    
26   *
                    
28   */
                    
29  public static $_log = FALSE;
                    
30
                    
459  /**
                    
460   * Returns if this table needs to be logged
                    
461   *
                    
463   */
                    
464  public function getLog() {
                    
465    return self::$_log;
                    
                
lang.php https://gitlab.com/gideonmarked/atls-express | PHP | 326 lines
                    
49            'misc' => 'Övrigt',
                    
50            'logs' => 'Loggar',
                    
51            'mail' => 'Mail',
                    
134    'mail' => [
                    
135        'log_file' => 'Loggfiler',
                    
136        'menu_label' => 'E-postkonfiguration',
                    
141        'sender_email' => 'Avsändarens e-postadress',
                    
142        'php_mail' => 'PHP mail',
                    
143        'smtp' => 'SMTP',
                    
288        'empty_link' => 'Töm händelseloggen',
                    
289        'empty_loading' => 'Tömmer händelselogg...',
                    
290        'empty_success' => 'Lyckades tömma händelseloggen.',
                    
316        'manage_software_updates' => 'Hantera systemuppdateringar',
                    
317        'access_logs' => 'Visa systemloggen',
                    
318        'manage_mail_templates' => 'Hantera e-postmallar',
                    
                
about.html https://gitlab.com/adrian.io/ide | HTML | 275 lines
                    
16		Eclipse Public License Version 1.0 (&quot;EPL&quot;).  A copy of the EPL is available 
                    
17		at <a href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>.
                    
18		For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
                    
50
                    
51<h3>Apache Commons Logging v1.1</h3>
                    
52
                    
52
                    
53<p>This plugin is based on software developed by the Apache Commons Codec project at <a href="http://jakarta.apache.org/commons/logging/">http://jakarta.apache.org/commons/logging/</a>.
                    
54A copy of this library is distributed within this plugin and
                    
                
NetClient.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 629 lines
                    
75	/**
                    
76	 * @var \MailSo\Log\Logger
                    
77	 */
                    
559	 */
                    
560	protected function writeLog($sDesc, $iDescType = \MailSo\Log\Enumerations\Type::INFO, $bDiplayCrLf = false)
                    
561	{
                    
563		{
                    
564			$this->oLogger->Write($sDesc, $iDescType, $this->getLogName(), true, $bDiplayCrLf);
                    
565		}
                    
605	/**
                    
606	 * @param \MailSo\Log\Logger $oLogger
                    
607	 *
                    
613	{
                    
614		if (!($oLogger instanceof \MailSo\Log\Logger))
                    
615		{
                    
                
InstallSchema.php https://gitlab.com/svillegas/magento2 | PHP | 407 lines
                    
1<?php
                    
2/**
                    
19     * {@inheritdoc}
                    
20     * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
                    
21     */
                    
221            [],
                    
222            'Catalog entities (comma separated)'
                    
223        )->addColumn(
                    
                
File.php https://gitlab.com/devtoannh/cafe | PHP | 468 lines
                    
25 */
                    
26require_once 'Zend/CodeGenerator/Php/Abstract.php';
                    
27
                    
30 */
                    
31require_once 'Zend/CodeGenerator/Php/Class.php';
                    
32
                    
38 */
                    
39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract
                    
40{
                    
86        if ($fileName == '') {
                    
87            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
88            throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.');
                    
113            if ( ($realpath = Zend_Reflection_file::findRealpathInIncludePath($filePath)) === false) {
                    
114                require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
115                throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');
                    
                
hostkreskoweczki.py https://gitlab.com/nunigaia/iptvplayer-for-e2 | Python | 318 lines
                    
6from Plugins.Extensions.IPTVPlayer.components.ihost import CHostBase, CBaseHostClass, CDisplayListItem, RetHost, CUrlItem, ArticleContent
                    
7from Plugins.Extensions.IPTVPlayer.tools.iptvtools import printDBG, printExc, CSearchHistoryHelper, GetDefaultLang, remove_html_markup, GetLogoDir, GetCookieDir, byteify
                    
8from Plugins.Extensions.IPTVPlayer.libs.pCommon import common, CParsingHelper
                    
60        self.MAIN_URL      = 'http://www.kreskoweczki.pl/'
                    
61        self.SEARCH_URL    = self.MAIN_URL + 'search.php?keywords='
                    
62        self.DEFAULT_ICON  = "http://www.kreskoweczki.pl/uploads/custom-logo.png"
                    
179            
                    
180        videoData = self.cm.ph.getSearchGroups(videoUrl, "/embed/proxy[^.]+?.php")
                    
181        if '' != videoData:
                    
                
user.inc.php https://gitlab.com/haque.mdmanzurul/modx-improve-carolyn | PHP | 202 lines
                    
18$_lang['extended_fields_msg'] = 'Edit any extended fields that are implemented here.';
                    
19$_lang['login_options'] = 'Login Options';
                    
20$_lang['minimum_role'] = 'Minimum Role';
                    
77$_lang['user_duplicate'] = 'Duplicate User';
                    
78$_lang['user_edit_self_msg'] = 'You may need to log out and log in again after saving to fully update your information.</strong><br>Also, should you choose to generate a new password for yourself, it will be sent to you through email.';
                    
79$_lang['user_email'] = 'Email address';
                    
114$_lang['user_failedlogincount'] = 'Failed Logins';
                    
115$_lang['user_failedlogincount_desc'] = 'The number of times this user has failed to login by entering an incorrect password.';
                    
116$_lang['user_fax'] = 'Fax';
                    
165$_lang['user_logincount'] = 'Number of Logins';
                    
166$_lang['user_logincount_desc'] = 'The total number of times this User has logged in.';
                    
167$_lang['user_male'] = 'Mand';
                    
175$_lang['user_prevlogin'] = 'Last Login';
                    
176$_lang['user_prevlogin_desc'] = 'The last time that the user successfully logged in.';
                    
177$_lang['user_profile_err_nf'] = 'FATAL ERROR: User profile not found.';
                    
                
pageTranslations.php https://gitlab.com/macitsimsek/fastsubtitle | PHP | 217 lines
                    
1<?php
                    
2
                    
26    'support_subtitle'      => 'Support Subtitle',
                    
27    'user_login'            => 'User Login',
                    
28    'sign_up'               => 'Sign Up',
                    
30    'change_password'       => 'Change Password',
                    
31    'logout'                => 'Logout',
                    
32    'view_profile'          => 'View Profile',
                    
                
grid.subgrid.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 298 lines
                    
4 * Tony Tomov tony@trirand.com
                    
5 * http://trirand.com/blog/ 
                    
6 * Dual licensed under the MIT and GPL licenses:
                    
6 * Dual licensed under the MIT and GPL licenses:
                    
7 * http://www.opensource.org/licenses/mit-license.php
                    
8 * http://www.gnu.org/licenses/gpl-2.0.html
                    
                
ZoomPrintController.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 392 lines
                    
29   private EdgesGraphComponent _edgesGraphComponent;
                    
30   private GraphPlugin _plugin;
                    
31   private GraphPrintable _printable;
                    
35
                    
36   public ZoomPrintController(ZoomerXmlBean zoomerXmlBean, PrintXmlBean printXmlBean, EdgesListener edgesListener, GraphPrintable printable, ISession session, GraphPlugin plugin)
                    
37   {
                    
40
                    
41      _panel = new ZoomPrintPanel(new GraphPluginResources(_plugin));
                    
42
                    
174      printJob.setPrintable(_printable, pf);
                    
175      if (printJob.printDialog())
                    
176      {
                    
226
                    
227            BufferedImage img = prepareImage(graphPixelSize.width, graphPixelSize.height);
                    
228            _printable.print(img.getGraphics(), pf, 0);
                    
                
class-popup-public.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 407 lines
                    
1<?php
                    
2// Load dependencies.
                    
2// Load dependencies.
                    
3require_once PO_INC_DIR . 'class-popup-base.php';
                    
4
                    
230	 * PopUp data is loaded via a normal WordPress ajax request, directed at
                    
231	 * the admin-ajax.php handler.
                    
232	 *
                    
237
                    
238		if ( ! in_array( $pagenow, array( 'wp-login.php', 'wp-register.php' ) ) ) {
                    
239			// Data is loaded via a normal WordPress ajax request.
                    
239			// Data is loaded via a normal WordPress ajax request.
                    
240			$this->script_data['ajaxurl'] = admin_url( 'admin-ajax.php' );
                    
241			$this->script_data['ajax_data']['orig_request_uri'] = $_SERVER['REQUEST_URI'];
                    
261
                    
262		if ( ! in_array( $pagenow, array( 'wp-login.php', 'wp-register.php' ) ) ) {
                    
263			/*
                    
                
php-crypt_r.cpp https://gitlab.com/iranjith4/hhvm | C++ | 381 lines
                    
3   +----------------------------------------------------------------------+
                    
4   | PHP Version 7                                                        |
                    
5   +----------------------------------------------------------------------+
                    
5   +----------------------------------------------------------------------+
                    
6   | Copyright (c) 1997-2015 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
7   +----------------------------------------------------------------------+
                    
8   | This source file is subject to version 3.01 of the PHP license,      |
                    
9   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
                
SensorRunner.php https://gitlab.com/Drulenium-bot/monitoring | PHP | 351 lines
                    
1<?php
                    
2/**
                    
213  /**
                    
214   * Log results if needed.
                    
215   *
                    
218   */
                    
219  protected function logResults(array $results) {
                    
220    foreach ($results as $result) {
                    
239  /**
                    
240   * Checks if sensor results should be logged.
                    
241   *
                    
249   * @return bool
                    
250   *   TRUE if the result should be logged, FALSE if not.
                    
251   */
                    
252  protected function needsLogging($result, $old_status = NULL, $new_status = NULL) {
                    
253    $log_activity = $result->getSensorConfig()->getSetting('result_logging', FALSE);
                    
254
                    
                
Application.php https://gitlab.com/rsilveira1987/Expresso | PHP | 374 lines
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Application.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
20 */
                    
24 * @package    Zend_Application
                    
25 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
26 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
60     *
                    
61     * Initialize application. Potentially initializes include_paths, PHP 
                    
62     * settings, and bootstrap class.
                    
72
                    
73        require_once 'Zend/Loader/Autoloader.php';
                    
74        $this->_autoloader = Zend_Loader_Autoloader::getInstance();
                    
127        if (!empty($options['phpsettings'])) {
                    
128            $this->setPhpSettings($options['phpsettings']);
                    
129        }
                    
                
cat_contractor_edit.php https://gitlab.com/alexprowars/bitrix | PHP | 339 lines
                    
2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
                    
3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/catalog/prolog.php");
                    
4global $APPLICATION;
                    
13
                    
14if (!($USER->CanDoOperation('catalog_read') || $USER->CanDoOperation('catalog_store')))
                    
15	$APPLICATION->AuthForm(GetMessage("ACCESS_DENIED"));
                    
20{
                    
21	require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
22
                    
25
                    
26	require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php");
                    
27	die();
                    
121
                    
122require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
123$str_ACTIVE = "Y";
                    
338
                    
339<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php");?>
                    
                
QueryPluginBase.php https://gitlab.com/reasonat/test8 | PHP | 353 lines
                    
1<?php
                    
2
                    
92   *
                    
93   * This signature is something that can be used when perusing query logs to
                    
94   * discern where particular queries might be coming from.
                    
156   *   Either 'AND' or 'OR'. All items within this group will be added
                    
157   *   to the WHERE clause with this logical operator.
                    
158   * @param $group
                    
                
general.php https://gitlab.com/digaotinfo/agenciaabear.com.br | PHP | 225 lines
                    
19            <label class="kopa-label"><?php _e('Top margin:', kopa_get_domain()); ?> </label>
                    
20            <input type="text" value="<?php echo get_option('kopa_theme_options_logo_margin_top'); ?>" id="kopa_theme_options_logo_margin_top" name="kopa_theme_options_logo_margin_top" class=" kopa-short-input">
                    
21            <label class="kopa-label"><?php _e('px', kopa_get_domain()); ?></label>
                    
25            <label class="kopa-label"><?php _e('Left margin:', kopa_get_domain()); ?> </label>
                    
26            <input type="text" value="<?php echo get_option('kopa_theme_options_logo_margin_left'); ?>" id="kopa_theme_options_logo_margin_left" name="kopa_theme_options_logo_margin_left" class=" kopa-short-input">
                    
27            <label class="kopa-label"><?php _e('px', kopa_get_domain()); ?></label>
                    
31            <label class="kopa-label"><?php _e('Right margin:', kopa_get_domain()); ?> </label>
                    
32            <input type="text" value="<?php echo get_option('kopa_theme_options_logo_margin_right'); ?>" id="kopa_theme_options_logo_margin_right" name="kopa_theme_options_logo_margin_right" class=" kopa-short-input">
                    
33            <label class="kopa-label"><?php _e('px', kopa_get_domain()); ?></label>
                    
139                ?>
                    
140                <label  for="<?php echo $kopa_header_headline_status_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_header_headline_status_id; ?>" name="<?php echo $kopa_header_headline_name; ?>" <?php echo ($value == get_option($kopa_header_headline_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label>
                    
141                <?php
                    
190                ?>
                    
191                <label  for="<?php echo $kopa_breadcrumb_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_breadcrumb_id; ?>" name="<?php echo $kopa_breadcrumb_status_name; ?>" <?php echo ($value == get_option($kopa_breadcrumb_status_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label>
                    
192                <?php
                    
                
configure-vhosts.html https://gitlab.com/haris4445/techarena | HTML | 251 lines
                    
54              <li class="active"><a href="/dashboard/howto.html">HOW-TO Guides</a></li>
                    
55              <li class=""><a target="_blank" href="/dashboard/phpinfo.php">PHPInfo</a></li>
                    
56              <li class=""><a href="/phpmyadmin/">phpMyAdmin</a></li>
                    
230              <ul class="inline-list">
                    
231                <li><a href="https://www.apachefriends.org/blog.html">Blog</a></li>
                    
232                <li><a href="https://www.apachefriends.org/privacy_policy.html">Privacy Policy</a></li>
                    
234<a target="_blank" href="http://www.fastly.com/">                    CDN provided by
                    
235                    <img width="48" data-2x="/dashboard/images/fastly-logo@2x.png" src="/dashboard/images/fastly-logo.png" />
                    
236</a>                </li>
                    
                
config.values.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 277 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
6 *
                    
7 * @package PhpMyAdmin
                    
8 */
                    
9
                    
10if (!defined('PHPMYADMIN')) {
                    
11    exit;
                    
36$cfg_db['MemoryLimit'] = 'short_string';
                    
37$cfg_db['NavigationLogoLinkWindow'] = array('main', 'new');
                    
38$cfg_db['NavigationTreeDefaultTabTable'] = array(
                    
222/**
                    
223 * Basic validator assignments (functions from libraries/config/Validator.php
                    
224 * and 'validators' object in js/config.js)
                    
244    'LimitChars' => 'validatePositiveNumber',
                    
245    'LoginCookieValidity' => 'validatePositiveNumber',
                    
246    'LoginCookieStore' => 'validateNonNegativeNumber',
                    
                
index.py https://gitlab.com/xiaok/SaltAdmin | Python | 237 lines
                    
80            Expiry = 0 # 不记住登录,设置数据库里存储的token的过期时间与登录时间相等
                    
81        #db.query('''update users set loginhost="%s",logindate="%s" where id="%s"''' % (LoginHost,LoginDate,SID))
                    
82        db.query('''insert into login_logs (uid,ip,location,agent,token,expiry) values ("%s","%s","%s","%s","%s",NOW() + INTERVAL %d SECOND)''' % (SID,LoginHost,Location,Agent,Token,Expiry))
                    
82        db.query('''insert into login_logs (uid,ip,location,agent,token,expiry) values ("%s","%s","%s","%s","%s",NOW() + INTERVAL %d SECOND)''' % (SID,LoginHost,Location,Agent,Token,Expiry))
                    
83        db.query('''update users set loginfo=(select id from login_logs where uid="%s" and ip="%s" and token="%s" and  status="yes" order by id desc limit 1) where id="%s"''' % (SID,LoginHost,Token,SID))
                    
84    # 写入token到session,存储于服务器端
                    
123                g = db.query('''
                    
124                    select U.id,U.username,U.nickname,U.loginfo,L.id as LID,L.ip,L.date from login_logs as L
                    
125                    left join users as U on L.uid=U.id
                    
138                if d.loginfo != d.LID:
                    
139                    g2 = db.query('''select L.ip,L.date from users as U left join login_logs as L on U.loginfo=L.id where U.id="%s"''' % uid)
                    
140                    d = g2[0]
                    
166        try:
                    
167            getSQL = db.query('''select u.id,u.username,u.password,u.nickname,u.status,L.ip,L.location,L.date from users as u left join login_logs as L on u.loginfo=L.id where username="%s" and password=md5("%s")''' % (getPost.username,getPost.password))
                    
168        except:
                    
                
Cloud.php https://gitlab.com/vincent.perdereau/picandparts | PHP | 410 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Cloud
                    
18 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
25 */
                    
26#require_once 'Zend/Tag/Item.php';
                    
27
                    
30 * @package    Zend_Tag
                    
31 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
32 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
152            } else {
                    
153                #require_once 'Zend/Tag/Cloud/Exception.php';
                    
154                throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array');
                    
174        } else {
                    
175            #require_once 'Zend/Tag/Cloud/Exception.php';
                    
176            throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array');
                    
                
wp_loaded.php https://gitlab.com/najomie/fit-hippie | PHP | 281 lines
                    
161								));
                    
162								//$logger and call_user_func($logger, sprintf(__('Import #%s is not triggered. Request skipped.', 'wp_all_import_plugin'), $id));	
                    
163							}
                    
172								
                    
173								$log_storage = (int) PMXI_Plugin::getInstance()->getOption('log_storage');
                    
174
                    
180								if ($historyLogs->count() and $historyLogs->count() >= $log_storage ){
                    
181									$logsToRemove = $historyLogs->count() - $log_storage;
                    
182									foreach ($historyLogs as $i => $file){																					
                    
200									$wp_uploads = wp_upload_dir();	
                    
201									$log_file = wp_all_import_secure_file( $wp_uploads['basedir'] . DIRECTORY_SEPARATOR . PMXI_Plugin::LOGS_DIRECTORY, $history_log->id ) . DIRECTORY_SEPARATOR . $history_log->id . '.html';
                    
202									if ( @file_exists($log_file) ) wp_all_import_remove_source($log_file, false);	
                    
239									// $logger and call_user_func($logger, sprintf(__('Records Count %s', 'wp_all_import_plugin'), (int) $import->count));
                    
240									// $logger and call_user_func($logger, sprintf(__('Records Processed %s', 'wp_all_import_plugin'), (int) $import->queue_chunk_number));
                    
241
                    
                
controller.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 315 lines
                    
1<?php
                    
2
                    
101            if (!$u->isRegistered()) {
                    
102                $this->redirect('/login');
                    
103            }
                    
                
orderdocument.php https://gitlab.com/neuser/bitrix-core | PHP | 621 lines
                    
1<?php
                    
2namespace Bitrix\Sale\Exchange\OneC;
                    
493						),
                    
494						'CATALOG_ID' => array(
                    
495							'TYPE' => 'string'
                    
                
catalog.php https://gitlab.com/neuser/bitrix-core | PHP | 621 lines
                    
9namespace Bitrix\Main\Analytics;
                    
10use Bitrix\Catalog\CatalogViewedProductTable;
                    
11use Bitrix\Main\Application;
                    
29{
                    
30	protected static $cookieLogName = 'RCM_PRODUCT_LOG';
                    
31
                    
60		$realProductId = $basketItem->getProductId();
                    
61		$isCatalog = $basketItem->getField('MODULE') == 'catalog';
                    
62
                    
568	 */
                    
569	public static function encodeProductLog(array $log)
                    
570	{
                    
588	 */
                    
589	public static function decodeProductLog($log)
                    
590	{
                    
                
class.php https://gitlab.com/neuser/bitrix-core | PHP | 658 lines
                    
1<?php
                    
2if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die();
                    
3
                    
12
                    
13require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/classes/general/wizard.php"); //Wizard API
                    
14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/install/wizard/utils.php"); //Wizard utils
                    
14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/install/wizard/utils.php"); //Wizard utils
                    
15require_once("tools/bsmpackage.php");
                    
16require_once("tools/modulechecker.php");
                    
16require_once("tools/modulechecker.php");
                    
17require_once("tools/bitrixvmchecker.php");
                    
18require_once("tools/agentchecker.php");
                    
18require_once("tools/agentchecker.php");
                    
19require_once("tools/pushchecker.php");
                    
20require_once("tools/sitepatcher.php");
                    
                
TranslatorTest.php https://gitlab.com/Marwamimo/Crowdrise_Web | PHP | 288 lines
                    
15use Symfony\Component\HttpFoundation\RequestStack;
                    
16use Symfony\Component\Translation\MessageCatalogue;
                    
17use Symfony\Component\Filesystem\Filesystem;
                    
19
                    
20class TranslatorTest extends \PHPUnit_Framework_TestCase
                    
21{
                    
177
                    
178    protected function getCatalogue($locale, $messages)
                    
179    {
                    
179    {
                    
180        $catalogue = new MessageCatalogue($locale);
                    
181        foreach ($messages as $key => $translation) {
                    
184
                    
185        return $catalogue;
                    
186    }
                    
                
CreditCard.php https://gitlab.com/devtoannh/cafe | PHP | 317 lines
                    
1<?php
                    
2/**
                    
16 * @package    Zend_Validate
                    
17 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: CreditCard.php 23775 2011-03-01 17:25:24Z ralph $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Validate/Abstract.php';
                    
26
                    
29 * @package    Zend_Validate
                    
30 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
31 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
229        if (!is_callable($service)) {
                    
230            require_once 'Zend/Validate/Exception.php';
                    
231            throw new Zend_Validate_Exception('Invalid callback given');
                    
                
Amazon.php https://gitlab.com/devtoannh/cafe | PHP | 323 lines
                    
1<?php
                    
2
                    
18 * @subpackage Amazon
                    
19 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: Amazon.php 23775 2011-03-01 17:25:24Z ralph $
                    
22 */
                    
26 */
                    
27require_once 'Zend/Rest/Client.php';
                    
28
                    
32 * @subpackage Amazon
                    
33 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
34 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
92             */
                    
93            require_once 'Zend/Service/Exception.php';
                    
94            throw new Zend_Service_Exception("Unknown country code: $countryCode");
                    
                
Db.php https://gitlab.com/devtoannh/cafe | PHP | 286 lines
                    
1<?php
                    
2
                    
17 * @package    Zend_Db
                    
18 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Db.php 24417 2011-08-28 10:15:47Z padraic $
                    
21 */
                    
28 * @package    Zend_Db
                    
29 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
30 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
85     *    'ATTR_PERSISTENT', 'ATTR_STATEMENT_CLASS', 'ATTR_FETCH_TABLE_NAMES',
                    
86     *    'ATTR_FETCH_CATALOG_NAMES', 'ATTR_DRIVER_NAME',
                    
87     *    'ATTR_STRINGIFY_FETCHES', 'ATTR_MAX_COLUMN_LEN', 'ERRMODE_SILENT',
                    
111    const ATTR_ERRMODE = 3;
                    
112    const ATTR_FETCH_CATALOG_NAMES = 15;
                    
113    const ATTR_FETCH_TABLE_NAMES = 14;
                    
                
logs.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 336 lines
                    
24$sql = "SELECT SQL_CALC_FOUND_ROWS * FROM `" . $db_config['prefix'] . "_logs` WHERE `id`!=0";
                    
25$base_url = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op;
                    
26
                    
41	{
                    
42		nv_insert_logs( NV_LANG_DATA, $module_name, sprintf ( $lang_module['filter_check_log'], $op ), $admin_info['username'] . " - " . $admin_info['userid'], 0 );
                    
43		Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op );
                    
81			$to = mktime( 0, 0, 0, $match[2], $match[1], $match[3] );
                    
82			$sql .= " AND `log_time` <= " . $to;
                    
83			$base_url .= "&amp;to=" . $data_search['to'];
                    
157{
                    
158	$sql .= " ORDER BY `log_time` " . $order['time']['order'];
                    
159}
                    
315    $xtpl->assign( 'CLASS', $a % 2 == 1 ? " class=\"second\"" : "" );
                    
316    $xtpl->assign( 'DEL_URL', NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=log&amp;" . NV_OP_VARIABLE . "=logs_del&amp;id=" . $data_i['id'] );
                    
317    $xtpl->assign( 'BACK_URL', $base_url );
                    
                
class-wc-shortcode-my-account.php https://gitlab.com/webkod3r/tripolis | PHP | 363 lines
                    
50
                    
51				wc_get_template( 'myaccount/form-login.php' );
                    
52
                    
204	 *
                    
205	 * Based on retrieve_password() in core wp-login.php.
                    
206	 *
                    
301
                    
302		if ( empty( $login ) || ! is_string( $login ) ) {
                    
303			wc_add_notice( __( 'Invalid key', 'woocommerce' ), 'error' );
                    
306
                    
307		$user = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->users WHERE user_login = %s", $login ) );
                    
308
                    
310			if ( empty( $wp_hasher ) ) {
                    
311				require_once ABSPATH . 'wp-includes/class-phpass.php';
                    
312				$wp_hasher = new PasswordHash( 8, true );
                    
                
PhpReferenceCompatibility.php https://gitlab.com/x33n/ImpressPages | PHP | 433 lines
                    
1<?php
                    
2/**
                    
5 * @link      http://github.com/zendframework/zf2 for the canonical source repository
                    
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
                    
7 * @license   http://framework.zend.com/license/new-bsd New BSD License
                    
21 * This ArrayObject is a rewrite of the implementation to fix
                    
22 * issues with php's implementation of ArrayObject where you
                    
23 * are unable to unset multi-dimensional arrays because you
                    
25 */
                    
26abstract class PhpReferenceCompatibility implements IteratorAggregate, ArrayAccess, Serializable, Countable
                    
27{
                    
                
DatabaseHandle.php https://gitlab.com/tomgidden/php-DatabaseObject | PHP | 375 lines
                    
6
                    
7require_once('DatabaseObject/common/vars.php');
                    
8
                    
29  protected $cache = array();		   // The prepared query cache
                    
30  protected $sqllog = array();		   // Log of queries run through this handle
                    
31  protected $dbh;					   // The DB handle itself
                    
97
                    
98	// Log the start time of the query
                    
99	if(defined('TIMINGS') and TIMINGS) {
                    
236	  if(!($this->dbh->getAttribute(constant('PDO::ATTR_AUTOCOMMIT')))) {
                    
237		$this->sqllog[] = array(false, 0, 'Weird rollback', '');
                    
238		$this->dbh->rollBack();
                    
305		$msg = $this->errorMessage();
                    
306		$this->sqllog[] = array(false, $end-$start, 'Commit', $msg);
                    
307	  } else
                    
                
redemptiondetail.php https://gitlab.com/nvtdn2006/azora | PHP | 316 lines
                    
1<?php require_once './includes/application.php'; $this->template = ''; $this->title = 'Redemption Detail'?>
                    
2
                    
2
                    
3<?php		
                    
4
                    
34				
                    
35				//Event Log
                    
36				$evtObj = new EventObject();					
                    
39				$evtObj->action_by = Authentication::getAttribute('login_id');					
                    
40				EventLog::Log($evtObj);
                    
41			
                    
63				$evtObj->action_by = Authentication::getAttribute('login_id');					
                    
64				EventLog::Log($evtObj);								
                    
65		
                    
235							<td width="60px">
                    
236								<img src="<?php echo $config['PRMSConfig']->live_site . '/domain/images/products/' . $image['sys_file_name']; ?>" width="50" height="50" alt="<?php echo $product['product']['product_name']; ?>" title="<?php echo $product['product']['product_name']; ?>"/></td>
                    
237							<td><b><?php echo $product['product']['product_name']; ?></b></td>
                    
                
SnsClient.php https://gitlab.com/sokeara/ayana-journeys | PHP | 378 lines
                    
182    /**
                    
183     * Reloads/compiles a PHP file.
                    
184     * @param string $filename
                    
191    /**
                    
192     * Reloads/compiles a PHP file.
                    
193     * @param string[] $filenames
                    
303        $message['actions'] = $this->messages;
                    
304        $message['blog_id'] = w3_get_blog_id();
                    
305        $message['host'] = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : null;
                    
315            $this->_log($origin . ' sending message ' . $v);
                    
316            $this->_log('Host: ' . $message['host']);
                    
317            if (isset($_SERVER['REQUEST_URI']))
                    
317            if (isset($_SERVER['REQUEST_URI']))
                    
318                $this->_log('URL: ' . $_SERVER['REQUEST_URI']);
                    
319            if (function_exists('current_filter'))
                    
                
collateral-form-common.php https://gitlab.com/eluar/infocus | PHP | 252 lines
                    
93    <div class="small-1 medium-1 columns">
                    
94          <img class="lets-do-this" src="<?php echo $thumb ?>?<?php echo rand(199,9999);?>" data-big="<?php echo $src ?>?<?php echo rand(199,9999);?>" data-big2x="<?php echo $src ?>" width="40" height="40" />
                    
95    </div>
                    
102      <label id="item1<?php echo ($key + 3) ?>_label_0">
                    
103        <input type="number" placeholder="Qty" id="item1<?php echo ($key + 3) ?>_number_1" class="form-control" autocomplete="off" min="0" max="999999999" step="1" data-hint="" name="qty_<?php echo $name ?>">
                    
104      </label>
                    
107      <label id="item1<?php echo ($key + 3) ?>_label_0">
                    
108        <textarea id="item1<?php echo $key ?>_textarea_1" placeholder="Notes" class="form-control" maxlength="10000" placeholder="" data-hint="" name="notes_<?php echo $name ?>"></textarea>
                    
109      </label>
                    
162        <?php foreach ($costCenters as $costCenter): ?>
                    
163          <option value="<?php echo $costCenter;?>"><?php echo $costCenter;?></option>
                    
164        <?php endforeach; ?>
                    
198        <label <?php echo ($key == 'state')? 'id="state_label"' : '' ?>>
                    
199            <?php echo ($key !== 'province') ? '*' : ''?><?php echo $value ?>
                    
200            <input type="text" id="item102_text_1" class="no-margin-bottom" maxlength="254" placeholder="" autocomplete="off" data-hint="" name="<?php echo $key ?>" required="">
                    
                
google.php https://gitlab.com/Ltaimao/wecenter | PHP | 338 lines
                    
1<?php
                    
2/*
                    
60
                    
61    public function oauth2_login()
                    
62    {
                    
                
Pop3.php https://gitlab.com/Ltaimao/wecenter | PHP | 328 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Storage
                    
18 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
26 */
                    
27//require_once 'Zend/Mail/Storage/Abstract.php';
                    
28
                    
31 */
                    
32//require_once 'Zend/Mail/Protocol/Pop3.php';
                    
33
                    
36 */
                    
37//require_once 'Zend/Mail/Message.php';
                    
38
                    
43 * @subpackage Storage
                    
44 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
45 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
2012-15-107.html https://gitlab.com/bernagg/TI | HTML | 157 lines
                    
64	<li><p style="MARGIN-BOTTOM: 0.05in; FONT-WEIGHT: normal"><font color="#000000"><font face="Arial"><font size="2">website3.com/dir/dir/file.html</font></font></font></p>
                    
65	<li><p style="MARGIN-BOTTOM: 0.05in"><font color="#000000"><font face="Arial"><font size="2"><span style="FONT-WEIGHT: normal">website4.com/dir/dir2/file.php?argument1=1&amp;argument2=2
                    
66	</span></font></font></font><font color="#000000"><font face="Arial"><font size="2"><br></font></font></font><br><br>
                    
81	<li><p style="MARGIN-BOTTOM: 0.1in"><font color="#000000"><font face="Arial"><font size="2">Ensure
                    
82	that you have already logged into your account on alkasir.com</font></font></font></p></li>
                    
83</ol>
                    
147URL is acceptable or not. If you requested notification by email and
                    
148were logged into your alkasir.com account, you will automatically
                    
149receive an email with the moderators' decision.</font></font></font></p>
                    
                
grid.locale-en.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 224 lines
                    
4 * modified by Oleg Kiriljuk oleg.kiriljuk@ok-soft-gmbh.com
                    
5 * http://trirand.com/blog/ 
                    
6 * Dual licensed under the MIT and GPL licenses:
                    
6 * Dual licensed under the MIT and GPL licenses:
                    
7 * http://www.opensource.org/licenses/mit-license.php
                    
8 * http://www.gnu.org/licenses/gpl.html
                    
158                masks: {
                    
159                    // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
                    
160                    // and see http://docs.jquery.com/UI/Datepicker/formatDate
                    
163                    // information about date, time, numbers and currency formats used in different countries
                    
164                    // one should just convert the information in PHP format
                    
165                    // short date:
                    
                
Atom.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 400 lines
                    
1<?php
                    
2/**
                    
16 * @package    Zend_Feed_Reader
                    
17 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
24 */
                    
25#require_once 'Zend/Feed/Reader.php';
                    
26
                    
29 */
                    
30#require_once 'Zend/Feed/Reader/EntryInterface.php';
                    
31
                    
34 */
                    
35#require_once 'Zend/Feed/Reader/EntryAbstract.php';
                    
36
                    
39 */
                    
40#require_once 'Zend/Feed/Reader/Extension/Atom/Entry.php';
                    
41
                    
                
Grid.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 267 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 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
187                        'url'     => array(
                    
188                            'base'=>'*/catalog_product_review/edit',
                    
189                            'params'=> array(
                    
201
                    
202        $this->addRssList('rss/catalog/review', Mage::helper('catalog')->__('Pending Reviews RSS'));
                    
203
                    
244    {
                    
245        return $this->getUrl('*/catalog_product_review/edit', array(
                    
246            'id' => $row->getReviewId(),
                    
                
functions.wp-scripts.php https://gitlab.com/thisishayat/itv-2016 | PHP | 293 lines
                    
1<?php
                    
2/**
                    
44		'<code>admin_enqueue_scripts</code>',
                    
45		'<code>login_enqueue_scripts</code>'
                    
46	), '3.3' );
                    
51 *
                    
52 * Called by admin-header.php and wp_head hook. Since it is called by wp_head on every page load,
                    
53 * the function does not instantiate the WP_Scripts object unless script names are explicitly passed.
                    
180	if ( ( is_admin() && 'admin_enqueue_scripts' !== $current_filter ) ||
                    
181		( 'wp-login.php' === $GLOBALS['pagenow'] && 'login_enqueue_scripts' !== $current_filter )
                    
182	) {
                    
184			'jquery', 'jquery-core', 'jquery-migrate', 'jquery-ui-core', 'jquery-ui-accordion',
                    
185			'jquery-ui-autocomplete', 'jquery-ui-button', 'jquery-ui-datepicker', 'jquery-ui-dialog',
                    
186			'jquery-ui-draggable', 'jquery-ui-droppable', 'jquery-ui-menu', 'jquery-ui-mouse',
                    
                
component.php https://gitlab.com/alexprowars/bitrix | PHP | 255 lines
                    
1<?php
                    
2
                    
2
                    
3if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true)
                    
4{
                    
176		$arNavParams,
                    
177		array("ID", "FROM_USER_ID", "TITLE", "MESSAGE", "DATE_CREATE", "DATE_VIEW", "MESSAGE_TYPE", "FROM_USER_NAME", "FROM_USER_LAST_NAME", "FROM_USER_SECOND_NAME", "FROM_USER_LOGIN_NAME", "FROM_USER_PERSONAL_PHOTO", "FROM_USER_PERSONAL_GENDER")
                    
178	);
                    
212			"USER_SECOND_NAME" => $arMessages["FROM_USER_SECOND_NAME"],
                    
213			"USER_LOGIN" => $arMessages["FROM_USER_LOGIN"],
                    
214			"USER_PERSONAL_PHOTO" => $arMessages["FROM_USER_PERSONAL_PHOTO"],
                    
                
config.php https://gitlab.com/alexprowars/bitrix | PHP | 112 lines
                    
1<?php
                    
2$MESS["BX_IM_COMPONENT_CALL_ALL_CHATS"] = "Alle Chats";
                    
3$MESS["BX_IM_COMPONENT_CALL_BUTTON_AS_GUEST"] = "Als Besucher fortfahren";
                    
4$MESS["BX_IM_COMPONENT_CALL_BUTTON_AUTHORIZE"] = "Einloggen";
                    
5$MESS["BX_IM_COMPONENT_CALL_BUTTON_CHECK_DEVICES"] = "Hardware prüfen";
                    
43$MESS["BX_IM_COMPONENT_CALL_ERROR_MESSAGE_KICKED"] = "Sie wurden aus dieser Videokonferenz entfernt.";
                    
44$MESS["BX_IM_COMPONENT_CALL_ERROR_MESSAGE_PLEASE_LOG_IN"] = "Wir haben Ihren Account in diesem Bitrix24 gefunden. Bitte loggen Sie sich ein.";
                    
45$MESS["BX_IM_COMPONENT_CALL_ERROR_MESSAGE_USER_LIMIT"] = "Die Videokonferenz hat ihre maximale Kapazität erreicht.";
                    
53$MESS["BX_IM_COMPONENT_CALL_HARDWARE_ERROR"] = "Fehler bei der Gerätprüfung";
                    
54$MESS["BX_IM_COMPONENT_CALL_INTRANET_LOGOUT"] = "Log out";
                    
55$MESS["BX_IM_COMPONENT_CALL_INTRANET_NAME_TITLE"] = "Sie haben sich über den Bitrix24 Account eingeloggt";
                    
                
yii.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 114 lines
                    
1<?php
                    
2/**
                    
27    'Invalid data received for parameter "{param}".' => 'Ogiltig data har mottagits för parameter "{param}".',
                    
28    'Login Required' => 'Inloggning krävs',
                    
29    'Missing required arguments: {params}' => 'Följande begärda variabler saknas: {params}',
                    
                
Collection.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 292 lines
                    
1<?php
                    
2/**
                    
15 * Class Collection
                    
16 * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
                    
17 */
                    
64     * @param \Magento\Framework\Data\Collection\EntityFactory $entityFactory
                    
65     * @param \Psr\Log\LoggerInterface $logger
                    
66     * @param \Magento\Framework\Data\Collection\Db\FetchStrategyInterface $fetchStrategy
                    
76     * @param \Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource
                    
77     * @SuppressWarnings(PHPMD.ExcessiveParameterList)
                    
78     */
                    
80        \Magento\Framework\Data\Collection\EntityFactory $entityFactory,
                    
81        \Psr\Log\LoggerInterface $logger,
                    
82        \Magento\Framework\Data\Collection\Db\FetchStrategyInterface $fetchStrategy,
                    
93    ) {
                    
94        parent::__construct($entityFactory, $logger, $fetchStrategy, $eventManager, $connection, $resource);
                    
95        $this->_scopeConfig = $scopeConfig;
                    
                
Logger.php https://gitlab.com/hoanghung.dev/phunuvadoisong.com | PHP | 456 lines
                    
2/**
                    
3 * Logger.php
                    
4 *
                    
8/**
                    
9 * Logging utility class. This class handles basic logging with levels, log rotation and custom log formats. It's
                    
10 * designed to be compact but still powerful and flexible.
                    
168	/**
                    
169	 * Sets the max log file size. If the log file gets larger than this size it will be rolled.
                    
170	 *
                    
408
                    
409		$logFile = str_replace('{level}', strtolower($levelName), $logFile);
                    
410
                    
437
                    
438			rename($logFile, $logFile . ".1");
                    
439
                    
                
backend-scripts.js https://gitlab.com/glancr/system | JavaScript | 326 lines
                    
44
                    
45  $.post('writeLayout.php', {'row': row, 'modules[]': modules[row]})
                    
46    .done(function () {
                    
76  modules[row][col] = ''
                    
77  $.post('writeLayout.php', {'row': row, 'modules[]': modules[row]})
                    
78    .done(function () {
                    
115
                    
116  $.post('writeLayout.php', {'row': row, 'modules[]': modules[row]})
                    
117    .done(function () {
                    
130  moduleName = $(this).attr('data-deleteModule')
                    
131  console.log('user wants to delete ' + moduleName)
                    
132  $('[data-deleteModule-confirmbox=' + moduleName + ']').show()
                    
139  $.ajax({
                    
140    url: 'deleteModule.php',
                    
141    type: 'POST',
                    
                
Statistics.php https://gitlab.com/fabiorf/curso-zend1-aula1 | PHP | 309 lines
                    
1<?php
                    
2
                    
18 * @subpackage YouTube
                    
19 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: Statistics.php 24593 2012-01-05 20:35:02Z matthew $
                    
22 */
                    
26 */
                    
27require_once 'Zend/Gdata/Extension.php';
                    
28
                    
34 * @subpackage YouTube
                    
35 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
36 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
295     * Magic toString method allows using this directly via echo
                    
296     * Works best in PHP >= 4.2.0
                    
297     *
                    
                
Statistics.php https://gitlab.com/luisrepo/ClienteWS | PHP | 309 lines
                    
1<?php
                    
2
                    
18 * @subpackage YouTube
                    
19 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: Statistics.php 23775 2011-03-01 17:25:24Z ralph $
                    
22 */
                    
26 */
                    
27require_once 'Zend/Gdata/Extension.php';
                    
28
                    
34 * @subpackage YouTube
                    
35 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
36 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
295     * Magic toString method allows using this directly via echo
                    
296     * Works best in PHP >= 4.2.0
                    
297     *
                    
                
static-string-table.cpp https://gitlab.com/iranjith4/hhvm | C++ | 338 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
9   | available through the world-wide-web at the following url:           |
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
15*/
                    
16#include "hphp/runtime/base/static-string-table.h"
                    
17#include "hphp/runtime/base/rds.h"
                    
                
header.php https://gitlab.com/kaouech/theme | PHP | 198 lines
                    
1<?php include 'config.php' ?>
                    
2<!DOCTYPE html>
                    
56<body>
                    
57<?php if (!isset($no_visible_elements) || !$no_visible_elements) { ?>
                    
58    <!-- topbar starts -->
                    
67            </button>
                    
68            <a class="navbar-brand" href="index.html"> <img alt="Charisma Logo" src="img/logo20.png" class="hidden-xs"/>
                    
69                <span>Charisma</span></a>
                    
79                    <li class="divider"></li>
                    
80                    <li><a href="login.html">Logout</a></li>
                    
81                </ul>
                    
131    <!-- topbar ends -->
                    
132<?php } ?>
                    
133<div class="ch-container">
                    
176                        </li>
                    
177                        <li><a href="login.html"><i class="glyphicon glyphicon-lock"></i><span> Login Page</span></a>
                    
178                        </li>
                    
                
CategoryRepositoryTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 277 lines
                    
1<?php
                    
2/**
                    
6 */
                    
7namespace Magento\Catalog\Api;
                    
8
                    
21    /**
                    
22     * @magentoApiDataFixture Magento/Catalog/_files/category_backend.php
                    
23     */
                    
81     *
                    
82     * @magentoApiDataFixture Magento/Catalog/Model/Category/_files/service_category_create.php
                    
83     */
                    
100    /**
                    
101     * @magentoApiDataFixture Magento/Catalog/_files/category.php
                    
102     */
                    
153    /**
                    
154     * @magentoApiDataFixture Magento/Catalog/_files/category.php
                    
155     */
                    
                
wpsc-swfupload-handlers.js https://gitlab.com/endomorphosis/reservationtelco | JavaScript | 348 lines
                    
4
                    
5function wpsc_fileDialogStart() {
                    
6	jQuery("#media-upload-error").empty();
                    
43	else {
                    
44		jQuery('#media-item-' + fileObj.id).load('async-upload.php', {attachment_id:serverData, fetch:f}, function(){prepareMediaItemInit(fileObj);updateMediaForm()});
                    
45	}
                    
61		// Tell the server to delete it. TODO: handle exceptions
                    
62		jQuery.ajax({url:'admin-ajax.php',type:'post',success:deleteSuccess,error:deleteError,id:fileObj.id,data:{
                    
63			id : this.id.replace(/[^0-9]/g,''),
                    
142	}
                    
143	//console.log(fileObj);
                    
144	//console.log(serverData);
                    
150		output_html += "	<div id='gallery_image_"+image_id+"' class='previewimage'>\n";
                    
151		output_html += "		<a class='thickbox' rel='product_extra_image_"+image_id+"' href='admin.php?wpsc_admin_action=crop_image&amp;imagename="+image_src+"&amp;imgheight=480&amp;imgwidth=600&amp;product_id=103&amp;width=640&amp;height=342' id='extra_preview_link_"+image_id+"'>\n";
                    
152		output_html += "		<img title='Preview' alt='Preview' src='"+WPSC_IMAGE_URL+image_src+"' class='previewimage'/>\n";
                    
                
site_speed.php https://gitlab.com/alexprowars/bitrix | PHP | 297 lines
                    
5 */
                    
6require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
                    
7require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php");
                    
7require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php");
                    
8define("HELP_FILE", "settings/site_speed.php");
                    
9
                    
23$APPLICATION->SetTitle(Loc::getMessage("MAIN_SITE_SPEED_TITLE"));
                    
24require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
25
                    
100				if (\Bitrix\Main\ModuleManager::isModuleInstalled("perfmon")):
                    
101					$mark = (double)COption::GetOptionString("perfmon", "mark_php_page_rate", "");
                    
102				?>
                    
102				?>
                    
103					<a href="/bitrix/admin/perfmon_panel.php?lang=<?=LANGUAGE_ID?>" class="site-speed-perf-label"><?=Loc::getMessage("MAIN_SITE_SPEED_PERF")?></a>:<span class="site-speed-perf-value"><?if ($mark > 0):?><?=$mark?><?else:?><?=Loc::getMessage("MAIN_SITE_SPEED_PERF_NO_RES")?><?endif?></span>
                    
104				<?endif?>
                    
296
                    
297<?require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php");?>
                    
                
RouteCollectionBuilderTest.php https://gitlab.com/ealexis.t/trends | PHP | 324 lines
                    
77        $addedRoute = $collectionBuilder->add('/checkout', 'AppBundle:Order:checkout');
                    
78        $addedRoute2 = $collectionBuilder->add('/blogs', 'AppBundle:Blog:list', 'blog_list');
                    
79        $this->assertInstanceOf('Symfony\Component\Routing\Route', $addedRoute);
                    
175        // a simple route, nothing added to it
                    
176        $routes->add('/blogs/{id}', 'editAction', 'blog_edit');
                    
177
                    
264        $adminBlogRoutes = $routes->createBuilder();
                    
265        $adminBlogRoutes->add('/new', 'BlogController::newAction', 'admin_blog_new');
                    
266        // mount into admin, but before the parent collection has been mounted
                    
266        // mount into admin, but before the parent collection has been mounted
                    
267        $adminRoutes->mount('/blog', $adminBlogRoutes);
                    
268
                    
295        $this->assertEquals('/admin/users', $collection->get('admin_users')->getPath(), 'Routes after mounting have the prefix');
                    
296        $this->assertEquals('/admin/blog/new', $collection->get('admin_blog_new')->getPath(), 'Sub-collections receive prefix even if mounted before parent prefix');
                    
297        $this->assertEquals('/admin/stats/sales', $collection->get('admin_stats_sales')->getPath(), 'Sub-collections receive prefix if mounted after parent prefix');
                    
                
edit.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 244 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
24
                    
25require_once('../config.php');
                    
26require_once('lib.php');
                    
26require_once('lib.php');
                    
27require_once('edit_form.php');
                    
28
                    
39    if (!empty($id)) {
                    
40        $returnurl = new moodle_url($CFG->wwwroot . '/course/view.php', array('id' => $id));
                    
41    } else {
                    
46            case 'category':
                    
47                $returnurl = new moodle_url($CFG->wwwroot . '/course/index.php', array('categoryid' => $categoryid));
                    
48                break;
                    
49            case 'catmanage':
                    
50                $returnurl = new moodle_url($CFG->wwwroot . '/course/management.php', array('categoryid' => $categoryid));
                    
51                break;
                    
                
sk.inc.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 272 lines
                    
1<?php
                    
2$translations = array(
                    
2$translations = array(
                    
3	'Login' => 'Prihlásiť sa',
                    
4	'Logout successful.' => 'Odhlásenie prebehlo v poriadku.',
                    
35	'Dump' => 'Export',
                    
36	'Logout' => 'Odhlásiť',
                    
37	'database' => 'databáza',
                    
84	'No extension' => 'Žiadne rozšírenie',
                    
85	'None of the supported PHP extensions (%s) are available.' => 'Nie je dostupné žiadne z podporovaných rozšírení (%s).',
                    
86	'Session support must be enabled.' => 'Session premenné musia byť povolené.',
                    
86	'Session support must be enabled.' => 'Session premenné musia byť povolené.',
                    
87	'Session expired, please login again.' => 'Session vypršala, prihláste sa prosím znova.',
                    
88	'Text length' => 'Dĺžka textov',
                    
130	'Event' => 'Udalosť',
                    
131	'%s version: %s through PHP extension %s' => 'Verzia %s: %s cez PHP rozšírenie %s',
                    
132	'%d row(s)' => array('%d riadok', '%d riadky', '%d riadkov'),
                    
                
PrettyPrinterAbstract.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 262 lines
                    
60        'Expr_LogicalAnd'       => array(16, -1),
                    
61        'Expr_LogicalXor'       => array(17, -1),
                    
62        'Expr_LogicalOr'        => array(18, -1),
                    
75     *
                    
76     * @param PHPParser_Node[] $stmts Array of statements
                    
77     *
                    
88     *
                    
89     * @param PHPParser_Node_Expr $node Expression node
                    
90     *
                    
169
                    
170    protected function pInfixOp($type, PHPParser_Node $leftNode, $operatorString, PHPParser_Node $rightNode) {
                    
171        list($precedence, $associativity) = $this->precedenceMap[$type];
                    
199     */
                    
200    protected function pPrec(PHPParser_Node $node, $parentPrecedence, $parentAssociativity, $childPosition) {
                    
201        $type = $node->getType();
                    
                
82f9856e4ee0c308539588cbfc82bb67bd3b911c.file.page.tpl.php https://gitlab.com/A.Julien/sendstockbymail-module-prestashop | PHP | 201 lines
                    
39<?php if ($_valid && !is_callable('content_57c49e1832c876_74584218')) {function content_57c49e1832c876_74584218($_smarty_tpl) {?>
                    
40<?php if (!isset($_smarty_tpl->tpl_vars['logged_on_addons']->value)||!$_smarty_tpl->tpl_vars['logged_on_addons']->value) {?>
                    
41<div class="alert bg-info">
                    
146				</form>
                    
147				<a class="categoryModuleFilterLink list-group-item <?php if (isset($_smarty_tpl->tpl_vars['categoryFiltered']->value['favorites'])) {?>active<?php }?>" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['currentIndex']->value, ENT_QUOTES, 'UTF-8', true);?>
                    
148&amp;token=<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['token']->value, ENT_QUOTES, 'UTF-8', true);?>
                    
153				</a>
                    
154				<a class="categoryModuleFilterLink list-group-item <?php if (count($_smarty_tpl->tpl_vars['categoryFiltered']->value)<=0) {?>active<?php }?>" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['currentIndex']->value, ENT_QUOTES, 'UTF-8', true);?>
                    
155&amp;token=<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['token']->value, ENT_QUOTES, 'UTF-8', true);?>
                    
167?>
                    
168					<a class="categoryModuleFilterLink list-group-item <?php if (isset($_smarty_tpl->tpl_vars['categoryFiltered']->value[$_smarty_tpl->tpl_vars['module_category_key']->value])) {?>active<?php }?>" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['currentIndex']->value, ENT_QUOTES, 'UTF-8', true);?>
                    
169&amp;token=<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['token']->value, ENT_QUOTES, 'UTF-8', true);?>
                    
169&amp;token=<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['token']->value, ENT_QUOTES, 'UTF-8', true);?>
                    
170&amp;<?php if (isset($_smarty_tpl->tpl_vars['categoryFiltered']->value[$_smarty_tpl->tpl_vars['module_category_key']->value])) {?>un<?php }?>filterCategory=<?php echo $_smarty_tpl->tpl_vars['module_category_key']->value;?>
                    
171" id="filter_<?php echo $_smarty_tpl->tpl_vars['module_category_key']->value;?>
                    
                
Form.php https://gitlab.com/fbi/web | PHP | 390 lines
                    
1<?php
                    
2
                    
34     *
                    
35     * @throws \LogicException if the node is not a button inside a form tag
                    
36     *
                    
124    /**
                    
125     * Gets the field values as PHP.
                    
126     *
                    
127     * This method converts fields with th array notation
                    
128     * (like foo[bar] to arrays) like PHP does.
                    
129     *
                    
133     */
                    
134    public function getPhpValues()
                    
135    {
                    
142    /**
                    
143     * Gets the file field values as PHP.
                    
144     *
                    
                
Statistics.php https://gitlab.com/grayhamster/open-social-media-monitoring | PHP | 309 lines
                    
1<?php
                    
2
                    
18 * @subpackage YouTube
                    
19 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: Statistics.php 24594 2012-01-05 21:27:01Z matthew $
                    
22 */
                    
26 */
                    
27require_once 'Zend/Gdata/Extension.php';
                    
28
                    
34 * @subpackage YouTube
                    
35 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
36 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
295     * Magic toString method allows using this directly via echo
                    
296     * Works best in PHP >= 4.2.0
                    
297     *
                    
                
CheckOut.php https://gitlab.com/vanthanhhoh/devlovebook | PHP | 319 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Created by PhpStorm.
                    
4 * User: THANH
                    
18                else {
                    
19                    $this->checkLogin();
                    
20                }
                    
30    }
                    
31    public function checkLogin(){
                    
32        if(isset($_SESSION['cart'])){
                    
41                }
                    
42                if(Input::Post('login',0)==1){ // Checklogin
                    
43                    $username = Input::Post('email','');
                    
44                    $password = Input::Post('password','');
                    
45                    if(G::$Authorized->CheckLogin($username, $password)){
                    
46                        header('Location:'.'/CheckOut/Main');
                    
                
date_helper.php https://gitlab.com/ricoru21/py_incidencia | PHP | 611 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
51				$system_time = time();
                    
52				log_message('error', 'The Date class could not set a proper GMT timestamp so the local time() value was used.');
                    
53			}
                    
68 *
                    
69 * This function is identical to PHPs date() function,
                    
70 * except that it allows date codes to be formatted using
                    
609
                    
610/* End of file date_helper.php */
                    
611/* Location: ./system/helpers/date_helper.php */
                    
                
class-wp-ms-users-list-table.php https://gitlab.com/gregtyka/helloworld1234 | PHP | 307 lines
                    
39			$logins = implode( "', '", get_super_admins() );
                    
40			$args['include'] = $wpdb->get_col( "SELECT ID FROM $wpdb->users WHERE user_login IN ('$logins')" );
                    
41		}
                    
181						<th scope="row" class="check-column">
                    
182							<label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php echo sprintf( __( 'Select %s' ), $user->user_login ); ?></label>
                    
183							<input type="checkbox" id="blog_<?php echo $user->ID ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ) ?>" />
                    
192						echo "<td $attributes>"; ?>
                    
193							<?php echo $avatar; ?><strong><a href="<?php echo $edit_link; ?>" class="edit"><?php echo $user->user_login; ?></a><?php
                    
194							if ( in_array( $user->user_login, $super_admins ) )
                    
259										$class .= 'site-mature ';
                    
260									if ( get_blog_status( $val->userblog_id, 'deleted' ) == 1 )
                    
261										$class .= 'site-deleted ';
                    
261										$class .= 'site-deleted ';
                    
262									if ( get_blog_status( $val->userblog_id, 'archived' ) == 1 )
                    
263										$class .= 'site-archived ';
                    
                
layout.class.php https://gitlab.com/dali99/shimmie2-Material-Theme | PHP | 267 lines
                    
1<?php
                    
2/**
                    
15
                    
16Files: default.php, style.css
                    
17
                    
20  directory in your shimmie installation.
                    
21- Log into your shimmie and change the Theme in the Board Config to your
                    
22  desired theme.
                    
105		if($user->is_anonymous()) {
                    
106			$custom_links .= $this->navlinks(make_link('user_admin/login'), "My Account", array("user", "user_admin", "setup", "admin"));
                    
107		}
                    
127		$qp = explode("/", ltrim(_get_query(), "/"));
                    
128		// php sucks
                    
129		switch($qp[0]) {
                    
                
main.php https://gitlab.com/dali99/shimmie2-Material-Theme | PHP | 371 lines
                    
1<?php
                    
2/*
                    
295
                    
296		log_info("tag_edit", "Mass editing tags: '$search' -> '$replace'");
                    
297
                    
300			if(count($images) == 0) {
                    
301				log_info("tag_edit", "No images found with target tag, doing in-place rename");
                    
302				$database->execute("DELETE FROM tags WHERE tag=:replace",
                    
                
umeditor.config.js https://gitlab.com/0072016/0072016-mmzrb- | JavaScript | 257 lines
                    
14    /**
                    
15     * 编辑器资源文件根路径。它所表示的含义是:以编辑器实例化页面为当前路径,指向编辑器资源文件(即dialog等文件夹)的路径。
                    
16     * 鉴于很多同学在使用编辑器的时候出现的种种路径问题,此处强烈建议大家使用"相对于网站根目录的相对路径"进行配置。
                    
139        //图片上传配置区
                    
140        ,imageUrl:"../admin/upload.php?infImgUpload=1"             //图片上传提交地址
                    
141        ,imagePath:URL                     //图片修正地址,引用了fixedImagePath,如有特殊需求,可自行配置
                    
                
PhpReferenceCompatibility.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 433 lines
                    
1<?php
                    
2/**
                    
5 * @link      http://github.com/zendframework/zf2 for the canonical source repository
                    
6 * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
                    
7 * @license   http://framework.zend.com/license/new-bsd New BSD License
                    
21 * This ArrayObject is a rewrite of the implementation to fix
                    
22 * issues with php's implementation of ArrayObject where you
                    
23 * are unable to unset multi-dimensional arrays because you
                    
25 */
                    
26abstract class PhpReferenceCompatibility implements IteratorAggregate, ArrayAccess, Serializable, Countable
                    
27{
                    
                
Ods.php https://gitlab.com/rsilveira1987/Expresso | PHP | 400 lines
                    
1<?php
                    
2/**
                    
128        Tinebase_Core::getLogger()->info(__METHOD__ . '::' . __LINE__ . ' Creating export for ' . $this->_modelName . ' . ' . $this->_getDataTableName());
                    
129        if (Tinebase_Core::isLogLevel(Zend_Log::TRACE)) Tinebase_Core::getLogger()->trace(__METHOD__ . '::' . __LINE__ . ' ' . print_r($this->_config->toArray(), TRUE));
                    
130        
                    
208
                    
209                    Tinebase_Core::getLogger()->log(__METHOD__ . '::' . __LINE__ . ' ' . $msg . ' Definition Name: ' . (string) $this->_config->name);
                    
210
                    
                
Curl.php https://gitlab.com/yousafsyed/easternglamor | PHP | 453 lines
                    
6
                    
7namespace Magento\Catalog\Test\Handler\CatalogProductSimple;
                    
8
                    
67            'Not Visible Individually' => 1,
                    
68            'Catalog' => 2,
                    
69            'Search' => 3,
                    
69            'Search' => 3,
                    
70            'Catalog, Search' => 4
                    
71        ],
                    
110                'ALL GROUPS' => 32000,
                    
111                'NOT LOGGED IN' => 0,
                    
112                'General' => 1
                    
175     *
                    
176     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
177     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
                
modules-defaults.php https://gitlab.com/Magi1053/Extra | PHP | 250 lines
                    
1<?php
                    
2// Prevent file from being loaded directly
                    
151
                    
152			// Blog Feed Standard
                    
153		'et_pb_posts_blog_feed_standard-header_font_size'         => '16px',
                    
153		'et_pb_posts_blog_feed_standard-header_font_size'         => '16px',
                    
154		'et_pb_posts_blog_feed_standard-header_font_style'        => 'uppercase',
                    
155		'et_pb_posts_blog_feed_standard-header_text_color'        => '',
                    
155		'et_pb_posts_blog_feed_standard-header_text_color'        => '',
                    
156		'et_pb_posts_blog_feed_standard-header_line_height'       => '1',
                    
157		'et_pb_posts_blog_feed_standard-header_letter_spacing'    => '1.2px',
                    
158
                    
159		'et_pb_posts_blog_feed_standard-title_font_size'          => '18px',
                    
160		'et_pb_posts_blog_feed_standard-title_font_style'         => '',
                    
160		'et_pb_posts_blog_feed_standard-title_font_style'         => '',
                    
161		'et_pb_posts_blog_feed_standard-title_text_color'         => '',
                    
162		'et_pb_posts_blog_feed_standard-title_letter_spacing'     => '0.5px',
                    
                
Curl.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 576 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 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
196     * Authorization: Basic header
                    
197     * Login credentials support
                    
198     *
                    
198     *
                    
199     * @param string $login username
                    
200     * @param string $pass password
                    
203    {
                    
204        $this->_auth['login'] = $login;
                    
205        $this->_auth['password'] = $pass;
                    
                
Flat.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 362 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
                    
21 * @category    Mage
                    
22 * @package     Mage_Catalog
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
25 */
                    
26class Mage_Catalog_Model_Product_Indexer_Flat extends Mage_Index_Model_Indexer_Abstract
                    
27{
                    
30     */
                    
31    const EVENT_MATCH_RESULT_KEY = 'catalog_product_flat_match_result';
                    
32
                    
                
search.php https://gitlab.com/alexprowars/bitrix | PHP | 532 lines
                    
1<?php
                    
2/**
                    
47				{
                    
48					$user = \CSocNetLogDestination::formatNetworkUser($user, array(
                    
49						"NAME_TEMPLATE" => $nameTemplate,
                    
76
                    
77		$searchResult = \CSocNetLogDestination::searchUsers(
                    
78			array(
                    
104
                    
105		return \CSocNetLogDestination::searchSonetGroups(array(
                    
106			"SEARCH" => $search,
                    
115
                    
116		$searchResult = \CSocNetLogDestination::searchCrmEntities(array(
                    
117			"SEARCH" => $search,
                    
265
                    
266				if (!empty($company['LOGO']) && intval($company['LOGO']) > 0)
                    
267				{
                    
                
template.php https://gitlab.com/alexprowars/bitrix | PHP | 409 lines
                    
2
                    
3if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
                    
4
                    
12Loc::loadMessages(__FILE__);
                    
13?><div class="container-fluid"><?php
                    
14if (!empty($arResult['ERRORS']['FATAL']))
                    
109			<div class="">
                    
110				<a href="<?=htmlspecialcharsbx($arParams['PATH_TO_CATALOG'])?>" class="mr-4"><?=Loc::getMessage('SPOL_TPL_LINK_TO_CATALOG')?></a>
                    
111			</div>
                    
393		$javascriptParams = array(
                    
394			"url" => CUtil::JSEscape($this->__component->GetPath().'/ajax.php'),
                    
395			"templateFolder" => CUtil::JSEscape($templateFolder),
                    
399		);
                    
400		$javascriptParams = CUtil::PhpToJSObject($javascriptParams);
                    
401		?>
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 524 lines
                    
1<?php
                    
2
                    
10
                    
11if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();
                    
12
                    
143			{
                    
144				if (!empty($paySystemElement["LOGOTIP"]))
                    
145				{
                    
145				{
                    
146					$paySystemElement["LOGOTIP"] = CFile::GetFileArray($paySystemElement['LOGOTIP']);
                    
147					$fileTemp = CFile::ResizeImageGet(
                    
147					$fileTemp = CFile::ResizeImageGet(
                    
148						$paySystemElement["LOGOTIP"]["ID"],
                    
149						array("width" => "95", "height" =>"55"),
                    
152					);
                    
153					$paySystemElement["LOGOTIP"] = $fileTemp["src"];
                    
154				}
                    
                
fa.inc.php https://gitlab.com/sylver.gocloud/gocloudasia-college-system-framework | PHP | 313 lines
                    
1<?php
                    
2$translations = array(
                    
7	'Password' => 'كلمه عبور',
                    
8	'Permanent login' => '',
                    
9	'Login' => 'ورود',
                    
9	'Login' => 'ورود',
                    
10	'Logout' => 'خروج',
                    
11	'Logged as: %s' => 'ورود به عنوان: %s',
                    
11	'Logged as: %s' => 'ورود به عنوان: %s',
                    
12	'Logout successful.' => 'با موفقيت خارج شديد',
                    
13	'Invalid credentials.' => 'اعتبار سنجي نامعتبر',
                    
16	'No extension' => 'پسوند نامعتبر',
                    
17	'None of the supported PHP extensions (%s) are available.' => ' پسوند پی اچ پی در دسترس نیست (%s) تعداد',
                    
18	'Session support must be enabled.' => 'پشتيباني از نشست بايستي فعال گردد',
                    
18	'Session support must be enabled.' => 'پشتيباني از نشست بايستي فعال گردد',
                    
19	'Session expired, please login again.' => 'نشست پايان يافته، لطفا دوباره وارد شويد',
                    
20	'%s version: %s through PHP extension %s' => 'نسخه %s : %s توسعه پی اچ پی %s',
                    
                
SCP.php https://gitlab.com/naufal/overtime-service-final | PHP | 360 lines
                    
3/**
                    
4 * Pure-PHP implementation of SCP.
                    
5 *
                    
5 *
                    
6 * PHP versions 4 and 5
                    
7 *
                    
7 *
                    
8 * The API for this library is modeled after the API from PHP's {@link http://php.net/book.ftp FTP extension}.
                    
9 *
                    
11 * <code>
                    
12 * <?php
                    
13 *    include 'Net/SCP.php';
                    
13 *    include 'Net/SCP.php';
                    
14 *    include 'Net/SSH2.php';
                    
15 *
                    
                
install.php https://gitlab.com/puppet-br/puppet-br.org-wordpress | PHP | 249 lines
                    
97			<th scope="row"><label for="weblog_title"><?php _e( 'Site Title' ); ?></label></th>
                    
98			<td><input name="weblog_title" type="text" id="weblog_title" size="25" value="<?php echo esc_attr( $weblog_title ); ?>" /></td>
                    
99		</tr>
                    
133			<th scope="row"><label for="blog_public"><?php _e( 'Privacy' ); ?></label></th>
                    
134			<td colspan="2"><label><input type="checkbox" name="blog_public" value="1" <?php checked( $blog_public ); ?> /> <?php _e( 'Allow my site to appear in search engines like Google and Technorati.' ); ?></label></td>
                    
135		</tr>
                    
149$mysql_version  = $wpdb->db_version();
                    
150$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
                    
151$mysql_compat   = version_compare( $mysql_version, $required_mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' );
                    
153if ( !$mysql_compat && !$php_compat )
                    
154	$compat = sprintf( __('You cannot install because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version );
                    
155elseif ( !$php_compat )
                    
238
                    
239<p class="step"><a href="../wp-login.php" class="button"><?php _e( 'Log In' ); ?></a></p>
                    
240
                    
                
pdo_mysql_driver.php https://gitlab.com/atokkecenk/baitulmal | PHP | 379 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP
                    
6 *
                    
8 *
                    
9 * Copyright (c) 2014 - 2019, British Columbia Institute of Technology
                    
10 *
                    
31 * @copyright	Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
                    
32 * @copyright	Copyright (c) 2014 - 2019, British Columbia Institute of Technology (https://bcit.ca/)
                    
33 * @license	https://opensource.org/licenses/MIT	MIT License
                    
188			$message = 'PDO_MYSQL was configured for an SSL connection, but got an unencrypted connection instead!';
                    
189			log_message('error', $message);
                    
190			return ($this->db_debug) ? $this->display_error($message, '', TRUE) : FALSE;
                    
                
autoload.function.php https://gitlab.com/OnBlox/OnBlox-Template | PHP | 385 lines
                    
1<?php
                    
2/*
                    
41
                    
42include_once (GLPI_ROOT."/config/based_config.php");
                    
43include_once (GLPI_ROOT."/config/define.php");
                    
89
                    
90   if (is_null($TRANSLATE)) { // before login
                    
91      return $str;
                    
301
                    
302      // Do not try to load phpcas using GLPI autoload
                    
303      if (preg_match('/^CAS_.*/', $classname)) {
                    
317
                    
318   if (file_exists("$dir$item.class.php")) {
                    
319      include_once("$dir$item.class.php");
                    
326      // trigger an error to get a backtrace, but only once (use prefix 'x' to handle empty case)
                    
327//          trigger_error("GLPI autoload : file $dir$item.class.php not founded trying to load class '$classname'");
                    
328      $notfound["x$classname"] = true;
                    
                
js.js https://gitlab.com/edward.pattillo/phpCourseExamples | JavaScript | 363 lines
                    
97    var imgPath = $(this)[0].value;
                    
98//     console.log(imgPath);
                    
99    
                    
103      
                    
104//       console.log(extn);
                    
105      
                    
130
                    
131//     console.log(this.id);
                    
132    var trackId = this.id;
                    
178    
                    
179    console.log(this.id);
                    
180    $('#ui-id-2').click();
                    
240      // specifices where the AJAX request will be sent to on the server
                    
241      url: "ajaxSubmit.php",
                    
242
                    
                
sysinfo.php https://gitlab.com/ricardosanchez/prueba | PHP | 367 lines
                    
140
                    
141		$this->info['php'] = php_uname();
                    
142		$this->info['dbversion'] = $db->getVersion();
                    
143		$this->info['dbcollation'] = $db->getCollation();
                    
144		$this->info['phpversion'] = phpversion();
                    
145		$this->info['server'] = isset($_SERVER['SERVER_SOFTWARE']) ? $_SERVER['SERVER_SOFTWARE'] : getenv('SERVER_SOFTWARE');
                    
154	/**
                    
155	 * Method to get if phpinfo method is enabled from php.ini
                    
156	 *
                    
176		{
                    
177			$this->php_info = JText::_('COM_ADMIN_PHPINFO_DISABLED');
                    
178
                    
320
                    
321		$this->_addDirectory($registry->get('log_path', JPATH_ROOT . '/log'), $registry->get('log_path', JPATH_ROOT . '/log'), 'COM_ADMIN_LOG_DIRECTORY');
                    
322		$this->_addDirectory($registry->get('tmp_path', JPATH_ROOT . '/tmp'), $registry->get('tmp_path', JPATH_ROOT . '/tmp'), 'COM_ADMIN_TEMP_DIRECTORY');
                    
                
label.php https://gitlab.com/mucill/majalengka | PHP | 260 lines
                    
36require SB.'admin/default/session_check.inc.php';
                    
37require SIMBIO.'simbio_GUI/table/simbio_table.inc.php';
                    
38require SIMBIO.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php';
                    
38require SIMBIO.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php';
                    
39require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php';
                    
40require SIMBIO.'simbio_DB/datagrid/simbio_dbgrid.inc.php';
                    
105                utility::jsAlert(__('New Label Data Successfully Saved'));
                    
106                echo '<script type="text/javascript">parent.jQuery(\'#mainContent\').simbioAJAX(\''.$_SERVER['PHP_SELF'].'\');</script>';
                    
107            } else { utility::jsAlert(__('Label Data FAILED to Save. Please Contact System Administrator')."\nDEBUG : ".$sql_op->error); }
                    
152	  <div class="btn-group">
                    
153      <a href="<?php echo MWB; ?>master_file/label.php" class="btn btn-default"><i class="glyphicon glyphicon-list-alt"></i>&nbsp;<?php echo __('Label List'); ?></a>
                    
154      <a href="<?php echo MWB; ?>master_file/label.php?action=detail" class="btn btn-default"><i class="glyphicon glyphicon-plus"></i>&nbsp;<?php echo __('Add New Label'); ?></a>
                    
155	  </div>
                    
156    <form name="search" action="<?php echo MWB; ?>master_file/label.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> :
                    
157    <input type="text" name="keywords" size="30" />
                    
                
class-storefront.php https://gitlab.com/hunt9310/ras | PHP | 401 lines
                    
1<?php
                    
2/**
                    
75			/**
                    
76			 * Enable support for site logo
                    
77			 */
                    
77			 */
                    
78			add_theme_support( 'custom-logo', array(
                    
79				'height'      => 110,
                    
110			/**
                    
111			 *  Add support for the Site Logo plugin and the site logo functionality in JetPack
                    
112			 *  https://github.com/automattic/site-logo
                    
114			 */
                    
115			add_theme_support( 'site-logo', array( 'size' => 'full' ) );
                    
116
                    
256		public function body_classes( $classes ) {
                    
257			// Adds a class of group-blog to blogs with more than 1 published author.
                    
258			if ( is_multi_author() ) {
                    
                
Media.php https://gitlab.com/yousafsyed/easternglamor | PHP | 356 lines
                    
1<?php
                    
2/**
                    
6
                    
7namespace Magento\Catalog\Model\Product\Attribute\Backend;
                    
8
                    
8
                    
9use Magento\Catalog\Model\Product;
                    
10use Magento\MediaStorage\Model\File\Uploader as FileUploader;
                    
48     * @return Product
                    
49     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
50     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
124     * @return Product
                    
125     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
126     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
207    /**
                    
208     * @param \Magento\Catalog\Model\Product $product
                    
209     * @param AbstractAttribute $attribute
                    
                
SCP.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 361 lines
                    
3/**
                    
4 * Pure-PHP implementation of SCP.
                    
5 *
                    
5 *
                    
6 * PHP versions 4 and 5
                    
7 *
                    
7 *
                    
8 * The API for this library is modeled after the API from PHP's {@link http://php.net/book.ftp FTP extension}.
                    
9 *
                    
11 * <code>
                    
12 * <?php
                    
13 *    include('Net/SCP.php');
                    
13 *    include('Net/SCP.php');
                    
14 *    include('Net/SSH2.php');
                    
15 *
                    
                
class-ms-model-customposttype.php https://gitlab.com/najomie/fit-hippie | PHP | 471 lines
                    
1<?php
                    
2/**
                    
16	 *
                    
17	 * Both static and class property are used to handle php 5.2 limitations.
                    
18	 * Override this value in child object.
                    
133	public function save() {
                    
134		MS_Factory::select_blog();
                    
135		$this->before_save();
                    
187		$this->after_save();
                    
188		MS_Factory::revert_blog();
                    
189
                    
253	public function delete() {
                    
254		MS_Factory::select_blog();
                    
255		do_action( 'MS_Model_CustomPostType_delete_before', $this );
                    
262		do_action( 'MS_Model_CustomPostType_delete_after', $this, $res );
                    
263		MS_Factory::revert_blog();
                    
264		return $res;
                    
                
functions.inc.php https://gitlab.com/boxnia/NFU_MOVIL | PHP | 346 lines
                    
1<?php
                    
2
                    
209
                    
210function login($value) {
                    
211  
                    
                
jquery.mask.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 281 lines
                    
5 *
                    
6 * Created by Igor Escobar on 2012-03-10. Please report any bug at http://blog.igorescobar.com
                    
7 *
                    
7 *
                    
8 * Copyright (c) 2012 Igor Escobar http://blog.igorescobar.com
                    
9 *
                    
9 *
                    
10 * The MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
11 *
                    
                
string.rst https://gitlab.com/albertkeba/docs | ReStructuredText | 300 lines
                    
30
                    
31.. php:staticmethod:: uuid()
                    
32
                    
50
                    
51        $data = "cakephp 'great framework' php";
                    
52        $result = String::tokenize($data, ' ', "'", "'");
                    
53        // result contains
                    
54        array('cakephp', "'great framework'", 'php');
                    
55
                    
55
                    
56.. php:staticmethod:: insert($string, $data, $options = array())
                    
57
                    
63
                    
64.. php:staticmethod:: cleanInsert($string, $options = array())
                    
65
                    
                
simulator.js https://gitlab.com/gregtyka/Scryve-Webapp | JavaScript | 362 lines
                    
19//                var events = Ext.getCmp('simulator').getRecorder().getEventSet('main');
                    
20//                console.log(JSON.stringify(events));
                    
21//                Ext.Ajax.request({
                    
21//                Ext.Ajax.request({
                    
22//                    url: '../../dump.php',
                    
23//                    method: 'POST',
                    
44                           cool like live demostration of how your app works without the need of any pre-recorded videos.</p>\n\
                    
45                           <p>Close this dialog and tap on the <b>\"Show Me!\"</b> button to see it in action. A demo series of events \n\
                    
46                              (technically an array of serialized events in JSON format) will be replayed live on the screen.</p>\n\
                    
                
navbar.php https://gitlab.com/brownmestizo/design-sandbox | PHP | 234 lines
                    
11                            <li>
                    
12                                <a href="faqs.php">
                    
13                                    <span class="hidden-xs">About Planearts</span>
                    
17                            <li>
                    
18                                <a href="faqs.php">
                    
19                                    <span class="hidden-xs">FAQs</span>
                    
23                            <li class="phone-number">
                    
24                                <a href="contact-us.php">
                    
25                                    <span> <i class="fa fa-envelope"></i></span>
                    
29                            <li>
                    
30                                <a href="terms-and-conditions.php">
                    
31                                    <span class="hidden-xs">Terms and Conditions</span>
                    
45            <div class="col-sm-12 col-md-6">
                    
46                <a class="navbar-brand " href="index.php"> 
                    
47                    <img src="{{ websiteVars.websiteSpecificImagePath }}logo.png" alt="Planearts"> 
                    
                
multiple-featured-images.php https://gitlab.com/webkod3r/tripolis | PHP | 374 lines
                    
1<?php
                    
2/*
                    
6Author: Marcus Kober
                    
7Author URI: http://www.koeln-dialog.de/
                    
8*/
                    
9
                    
10/*  Copyright 2012 Marcus Kober (m.kober@koeln-dialog.de)
                    
11
                    
91		public function kd_admin_init() {		
                    
92			if( strstr($_SERVER['REQUEST_URI'], 'wp-admin/post-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/post.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/media-upload.php')) {
                    
93				wp_enqueue_script(
                    
373
                    
374// Omit closing PHP tag to avoid "Headers already sent" issues.
                    
375
                    
                
readme.md https://gitlab.com/buitenzorg812/garapic.cms | Markdown | 217 lines
                    
28
                    
29The Modules::$locations array may be set in the application/config.php file. ie:
                    
30
                    
103
                    
104The PHP5 spl_autoload feature allows you to freely extend your controllers, models and libraries from 
                    
105application/core or application/libraries base classes without the need to specifically include or require
                    
109accepted in the same fashion as model aliases, and loading config files from the module config directory 
                    
110as library parameters (re: form_validation.php) have beed added.
                    
111
                    
1597. Create module directory structure application/modules/welcome/controllers
                    
1608. Move controller application/controllers/welcome.php to application/modules/welcome/controllers/welcome.php
                    
1619. Access the URL /index.php/welcome => shows Welcome to CodeIgniter
                    
16210. Create directory application/modules/welcome/views
                    
16311. Move view application/views/welcome_message.php to application/modules/welcome/views/welcome_message.php
                    
16412. Access the URL /index.php/welcome => shows Welcome to CodeIgniter
                    
                
Network.php https://gitlab.com/Skull3x/GladiatorMine | PHP | 366 lines
                    
164			} catch (\Throwable $e) {
                    
165				$logger = $this->server->getLogger();
                    
166				if (\pocketmine\DEBUG > 1) {
                    
166				if (\pocketmine\DEBUG > 1) {
                    
167					if ($logger instanceof MainLogger) {
                    
168						$logger->logException($e);
                    
261			if (\pocketmine\DEBUG > 1) {
                    
262				$logger = $this->server->getLogger();
                    
263				if ($logger instanceof MainLogger) {
                    
264					$logger->debug("BatchPacket " . " 0x" . bin2hex($packet->payload));
                    
265					$logger->logException($e);
                    
266				}
                    
311
                    
312		$this->registerPacket(ProtocolInfo::LOGIN_PACKET, LoginPacket::class);
                    
313		$this->registerPacket(ProtocolInfo::PLAY_STATUS_PACKET, PlayStatusPacket::class);
                    
                
CaBundle.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 291 lines
                    
60     *
                    
61     * @param  LoggerInterface $logger optional logger for information about which CA files were loaded
                    
62     * @return string          path to a CA bundle file or directory
                    
63     */
                    
64    public static function getSystemCaRootBundlePath(LoggerInterface $logger = null)
                    
65    {
                    
139     * @param string          $filename
                    
140     * @param LoggerInterface $logger   optional logger for information about which CA files were loaded
                    
141     *
                    
243
                    
244        // Based on testcase in https://github.com/php/php-src/commit/c1224573c773b6845e83505f717fbf820fc18415
                    
245        // changes in https://github.com/php/php-src/commit/76a7fd893b7d6101300cc656058704a73254d593
                    
269            count($output) === 3
                    
270            && $output[0] === sprintf('string(%d) "%s"', strlen(PHP_VERSION), PHP_VERSION)
                    
271            && $output[1] === 'string(27) "stefan.esser@sektioneins.de"'
                    
                
 

Source

Language