PageRenderTime 44ms queryFilters 11ms Sphinxql 2464ms GetByIds 271ms meta 0ms repositoryFilters 99ms languageFilters 36ms sourceFilters 56ms

501,203 results for 'php empty repo:andrewjleavitt/magestudy' (44 ms)

Source

Language

Repository

expedition.class.php https://bitbucket.org/speedealing/speedealing.git | PHP | 1,283 lines
1<?php
2/* Copyright (C) 2003-2008 Rodolphe Quiedeville  <rodolphe@quiedeville.org>
28require_once DOL_DOCUMENT_ROOT.'/core/class/commonobject.class.php';
29if (! empty($conf->propal->enabled)) require_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
30if (! empty($conf->commande->enabled)) require_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
119
120		$file = $conf->global->EXPEDITION_ADDON_NUMBER.".php";
121
334		// Check parameters
335		if (empty($id) && empty($ref) && empty($ref_ext) && empty($ref_int)) return -1;
336
498		// If stock increment is done on sending (recommanded choice)
499		if (! $error && ! empty($conf->stock->enabled) && ! empty($conf->global->STOCK_CALCULATE_ON_SHIPMENT))
500		{
1195			$url='';
1196			if (file_exists(DOL_DOCUMENT_ROOT."/core/modules/expedition/methode_expedition_".strtolower($code).".modules.php") && ! empty($this->tracking_number))
1197			{
fiche.php https://bitbucket.org/speedealing/speedealing.git | PHP | 588 lines
1<?php
2/* Copyright (C) 2001-2002	Rodolphe Quiedeville	<rodolphe@quiedeville.org>
28require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
29require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php';
30require_once DOL_DOCUMENT_ROOT.'/compta/dons/class/don.class.php';
31require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
32if (! empty($conf->projet->enabled)) require_once DOL_DOCUMENT_ROOT.'/core/lib/project.lib.php';
33
229	$newlang='';
230	if ($conf->global->MAIN_MULTILANGS && empty($newlang) && ! empty($_REQUEST['lang_id'])) $newlang=$_REQUEST['lang_id'];
231	if ($conf->global->MAIN_MULTILANGS && empty($newlang)) $newlang=$donation->client->default_lang;
244	{
245		header('Location: '.$_SERVER["PHP_SELF"].'?id='.$donation->id.(empty($conf->global->MAIN_JUMP_TAG)?'':'#builddoc'));
246		exit;
455
456	$linkback = '<a href="'.DOL_URL_ROOT.'/compta/dons/liste.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
457
admin.php https://bitbucket.org/geetharani/gordon.git | PHP | 850 lines
146?>
147<?php if ( !empty($_POST['submit'] ) ) : ?>
148<div id="message" class="updated fade"><p><strong><?php _e('Options saved.') ?></strong></p></div>
224		<td><?php echo htmlspecialchars($ip); ?></td>
225		<td style="padding: 0 .5em; font-weight:bold; color: #fff; background-color: <?php echo $color; ?>"><?php echo ($status ? __('Accessible') : __('Re-trying') ); ?></td>
226		
310					<p><?php esc_html_e( $alert['msg'] ); ?></p>
311					<p>More information is available at <a href="https://akismet.com/errors/<?php echo $alert['code']; ?>">https://akismet.com/errors/<?php echo $alert['code']; ?></a></p>
312				</div>
327		return;
328	} elseif ( ( empty($_SERVER['SCRIPT_FILENAME']) || basename($_SERVER['SCRIPT_FILENAME']) == 'edit-comments.php' ) &&  wp_next_scheduled('akismet_schedule_cron_recheck') ) {
329		function akismet_warning() {
766function akismet_add_comment_author_url() {
767    if ( !empty( $_POST['id'] ) && !empty( $_POST['url'] ) && check_admin_referer( 'comment_author_url_nonce' ) ) {
768        global $wpdb;
admin.php https://bitbucket.org/frnco/scripts.git | PHP | 850 lines
146?>
147<?php if ( !empty($_POST['submit'] ) ) : ?>
148<div id="message" class="updated fade"><p><strong><?php _e('Options saved.') ?></strong></p></div>
224		<td><?php echo htmlspecialchars($ip); ?></td>
225		<td style="padding: 0 .5em; font-weight:bold; color: #fff; background-color: <?php echo $color; ?>"><?php echo ($status ? __('Accessible') : __('Re-trying') ); ?></td>
226		
310					<p><?php esc_html_e( $alert['msg'] ); ?></p>
311					<p>More information is available at <a href="https://akismet.com/errors/<?php echo $alert['code']; ?>">https://akismet.com/errors/<?php echo $alert['code']; ?></a></p>
312				</div>
327		return;
328	} elseif ( ( empty($_SERVER['SCRIPT_FILENAME']) || basename($_SERVER['SCRIPT_FILENAME']) == 'edit-comments.php' ) &&  wp_next_scheduled('akismet_schedule_cron_recheck') ) {
329		function akismet_warning() {
766function akismet_add_comment_author_url() {
767    if ( !empty( $_POST['id'] ) && !empty( $_POST['url'] ) && check_admin_referer( 'comment_author_url_nonce' ) ) {
768        global $wpdb;
index.php https://bitbucket.org/varad/usebb-freddy-cannon-edition | PHP | 283 lines
1<?php
2
44
45$_GET['step'] = ( !empty($_GET['step']) && valid_int($_GET['step']) ) ? intval($_GET['step']) : 1;
46
73	
74	if ( !empty($_POST['start']) && !is_writable(ROOT_PATH.'config.php') && !empty($_SESSION['installer_running']) ) {
75		
77		
78	} elseif ( !empty($_POST['db_type']) && array_key_exists($_POST['db_type'], $db_servers) && !empty($_POST['db_server']) && !empty($_POST['db_username']) && !empty($_POST['db_dbname']) && !empty($_POST['admin_username']) && preg_match(USER_PREG, $_POST['admin_username']) && !empty($_POST['admin_email']) && preg_match(EMAIL_PREG, $_POST['admin_email']) && !empty($_POST['admin_passwd1']) && !empty($_POST['admin_passwd2']) && preg_match(PWD_PREG, $_POST['admin_passwd1']) && $_POST['admin_passwd1'] == $_POST['admin_passwd2'] ) {
79		
110			
111			$config_warning = ( !is_writable(ROOT_PATH.'config.php') ) ? '<p class="important"><strong>Tip:</strong> <code>config.php</code> is at this moment not writable by the webserver. Therefore, you will be asked to download the file after filling in this form. If you would like UseBB to edit the file automatically, make <code>config.php</code> writable (<em>chmod</em> it to 0777) and <a href="index.php">refresh</a> this wizard.</p>' : '';
112			
220	
221} elseif ( $_GET['step'] === 2 && !empty($_SESSION['admin_username']) && preg_match(USER_PREG, $_SESSION['admin_username']) && !empty($_SESSION['admin_email']) && preg_match(EMAIL_PREG, $_SESSION['admin_email']) && !empty($_SESSION['admin_passwd']) ) {
222	
admin.php https://github.com/flyingnn/yoTheme.git | PHP | 850 lines
146?>
147<?php if ( !empty($_POST['submit'] ) ) : ?>
148<div id="message" class="updated fade"><p><strong><?php _e('Options saved.') ?></strong></p></div>
224		<td><?php echo htmlspecialchars($ip); ?></td>
225		<td style="padding: 0 .5em; font-weight:bold; color: #fff; background-color: <?php echo $color; ?>"><?php echo ($status ? __('Accessible') : __('Re-trying') ); ?></td>
226		
310					<p><?php esc_html_e( $alert['msg'] ); ?></p>
311					<p>More information is available at <a href="https://akismet.com/errors/<?php echo $alert['code']; ?>">https://akismet.com/errors/<?php echo $alert['code']; ?></a></p>
312				</div>
327		return;
328	} elseif ( ( empty($_SERVER['SCRIPT_FILENAME']) || basename($_SERVER['SCRIPT_FILENAME']) == 'edit-comments.php' ) &&  wp_next_scheduled('akismet_schedule_cron_recheck') ) {
329		function akismet_warning() {
766function akismet_add_comment_author_url() {
767    if ( !empty( $_POST['id'] ) && !empty( $_POST['url'] ) && check_admin_referer( 'comment_author_url_nonce' ) ) {
768        global $wpdb;
admin.php https://bitbucket.org/mihteh/mihteh.com-wp | PHP | 851 lines
146?>
147<?php if ( !empty($_POST['submit'] ) ) : ?>
148<div id="message" class="updated fade"><p><strong><?php _e('Options saved.') ?></strong></p></div>
224		<td><?php echo htmlspecialchars($ip); ?></td>
225		<td style="padding: 0 .5em; font-weight:bold; color: #fff; background-color: <?php echo $color; ?>"><?php echo ($status ? __('Accessible') : __('Re-trying') ); ?></td>
226		
310					<p><?php esc_html_e( $alert['msg'] ); ?></p>
311					<p>More information is available at <a href="https://akismet.com/errors/<?php echo $alert['code']; ?>">https://akismet.com/errors/<?php echo $alert['code']; ?></a></p>
312				</div>
327		return;
328	} elseif ( ( empty($_SERVER['SCRIPT_FILENAME']) || basename($_SERVER['SCRIPT_FILENAME']) == 'edit-comments.php' ) &&  wp_next_scheduled('akismet_schedule_cron_recheck') ) {
329		function akismet_warning() {
766function akismet_add_comment_author_url() {
767    if ( !empty( $_POST['id'] ) && !empty( $_POST['url'] ) && check_admin_referer( 'comment_author_url_nonce' ) ) {
768        global $wpdb;
da_catalog_titleRecord.php https://github.com/jmjamison/da_catalog.git | PHP | 759 lines
44<div id="content">
45<?php
46	
52	//include('../db_login2.php');
53	//include('ISSRDA_login.php');
54	// set the include file
54	// set the include file
55	//include the login file - db_login.php
56	$sscnetInclude = "ISSRDA_login.php";
428	  #
429      if (empty($file) and empty($study)) {
430        # ignore
496echo "<A HREF='viewfiles.php'>View Data Cart</A><br>";
497			echo "<A HREF='emptycart.php'>Empty/Clear Data Cart</A><br><br>";
498			}
institution.php https://github.com/ybozhko/phd-mahara.git | PHP | 607 lines
1<?php
2/**
81        } elseif ($name == 'theme') {
82            if (!empty($value) && is_string($value) && strlen($value) > 255) {
83                throw new ParamOutOfRangeException("'theme' ($value) should be less than 255 characters in length");
85        } elseif ($name == 'defaultmembershipperiod') {
86            if (!empty($value) && (!is_numeric($value) || $value < 0 || $value > 9999999999)) {
87                throw new ParamOutOfRangeException("'defaultmembershipperiod' should be a number between 1 and 9,999,999,999");
89        } elseif ($name == 'maxuseraccounts') {
90            if (!empty($value) && (!is_numeric($value) || $value < 0 || $value > 9999999999)) {
91                throw new ParamOutOfRangeException("'maxuseraccounts' should be a number between 1 and 9,999,999,999");
531/* The institution selector does exactly the same thing in both
532   institutionadmins.php and institutionstaff.php (in /admin/users/).
533   This function creates the form for the page. */
591                'datatable' => 'adminstitutionslist',
592                'url' => get_config('wwwroot') . 'admin/users/institutions.php' . (!empty($query) ? '?query=' . urlencode($query) : ''),
593                'jsonscript' => 'admin/users/institutions.json.php',
update-core.php https://github.com/wowfrank/WordPress.git | PHP | 652 lines
410
411	$php_version    = phpversion();
412	$mysql_version  = $wpdb->db_version();
415	$wp_version = '3.4';
416	$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
417	if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
425	if ( !$mysql_compat && !$php_compat )
426		return new WP_Error( 'php_mysql_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s 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 ) );
427	elseif ( !$php_compat )
427	elseif ( !$php_compat )
428		return new WP_Error( 'php_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ) );
429	elseif ( !$mysql_compat )
642<script type="text/javascript">
643window.location = '<?php echo self_admin_url( 'about.php?updated' ); ?>';
644</script>
update-core.php https://github.com/shaiquddin/WordPress.git | PHP | 855 lines
1<?php
2/**
26'wp-admin/import-mt.php',
27'wp-admin/import-rss.php',
28'wp-admin/import-textpattern.php',
616
617	$php_version    = phpversion();
618	$mysql_version  = $wpdb->db_version();
621	$wp_version = '3.4';
622	$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
623	if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
631	if ( !$mysql_compat && !$php_compat )
632		return new WP_Error( 'php_mysql_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s 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 ) );
633	elseif ( !$php_compat )
633	elseif ( !$php_compat )
634		return new WP_Error( 'php_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ) );
635	elseif ( !$mysql_compat )
update-core.php https://bitbucket.org/acipriani/madeinapulia.com | PHP | 1,188 lines
823
824	$php_version    = phpversion();
825	$mysql_version  = $wpdb->db_version();
827	$development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' )  ); // a dash in the version indicates a Development release
828	$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
829	if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
837	if ( !$mysql_compat && !$php_compat )
838		return new WP_Error( 'php_mysql_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s 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 ) );
839	elseif ( !$php_compat )
839	elseif ( !$php_compat )
840		return new WP_Error( 'php_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ) );
841	elseif ( !$mysql_compat )
912	if ( ! is_wp_error( $result ) ) {
913		if ( ! $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $to . 'wp-includes/version.php', true /* overwrite */ ) ) {
914			$wp_filesystem->delete( $from, true );
update-core.php https://bitbucket.org/Thane2376/death-edge.ru.git | PHP | 1,152 lines
787
788	$php_version    = phpversion();
789	$mysql_version  = $wpdb->db_version();
791	$development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' )  ); // a dash in the version indicates a Development release
792	$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
793	if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
801	if ( !$mysql_compat && !$php_compat )
802		return new WP_Error( 'php_mysql_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s 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 ) );
803	elseif ( !$php_compat )
803	elseif ( !$php_compat )
804		return new WP_Error( 'php_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ) );
805	elseif ( !$mysql_compat )
876	if ( ! is_wp_error( $result ) ) {
877		if ( ! $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $to . 'wp-includes/version.php', true /* overwrite */ ) ) {
878			$wp_filesystem->delete( $from, true );
update-core.php https://github.com/primazp/support_wp.git | PHP | 1,054 lines
1<?php
2/**
26'wp-admin/import-mt.php',
27'wp-admin/import-rss.php',
28'wp-admin/import-textpattern.php',
713
714	$php_version    = phpversion();
715	$mysql_version  = $wpdb->db_version();
717	$development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' )  ); // a dash in the version indicates a Development release
718	$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
719	if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
727	if ( !$mysql_compat && !$php_compat )
728		return new WP_Error( 'php_mysql_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s 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 ) );
729	elseif ( !$php_compat )
729	elseif ( !$php_compat )
730		return new WP_Error( 'php_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ) );
731	elseif ( !$mysql_compat )
update.php https://github.com/envex/Micro-Theme.git | PHP | 88 lines
1<?php
2/**
4 * 
5 * The /inc/update.php file includes
6 * the Theme's automatic update functions
32 * 
33 * @link 	http://php.net/manual/en/function.basename.php 						basename()
34 * @link 	http://php.net/manual/en/function.dirname.php 						dirname()
34 * @link 	http://php.net/manual/en/function.dirname.php 						dirname()
35 * @link 	http://php.net/manual/en/function.empty.php 						empty()
36 * 
45
46	if (empty($checked_data->last_checked) && empty($up_options->api_key))
47		return $checked_data;
74	// Feed the update data into WP updater
75	if (!empty($response)) 
76		$checked_data->response[$theme_base] = $response;
update-core.php https://github.com/instantiator/c100-site-wordpress.git | PHP | 1,054 lines
1<?php
2/**
26'wp-admin/import-mt.php',
27'wp-admin/import-rss.php',
28'wp-admin/import-textpattern.php',
713
714	$php_version    = phpversion();
715	$mysql_version  = $wpdb->db_version();
717	$development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' )  ); // a dash in the version indicates a Development release
718	$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
719	if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
727	if ( !$mysql_compat && !$php_compat )
728		return new WP_Error( 'php_mysql_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s 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 ) );
729	elseif ( !$php_compat )
729	elseif ( !$php_compat )
730		return new WP_Error( 'php_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ) );
731	elseif ( !$mysql_compat )
index.php git://github.com/usebb/UseBB.git | PHP | 287 lines
1<?php
2
61
62if ( empty($_SESSION['installer_running']) && $functions->get_config('installer_run') ) {
63	
73	
74	if ( !empty($_POST['start']) && !is_writable(ROOT_PATH.'config.php') && !empty($_SESSION['installer_running']) ) {
75		
77		
78	} elseif ( !empty($_POST['db_type']) && array_key_exists($_POST['db_type'], $db_servers) && !empty($_POST['db_server']) && !empty($_POST['db_username']) && !empty($_POST['db_dbname']) && !empty($_POST['admin_username']) && preg_match(USER_PREG, $_POST['admin_username']) && !empty($_POST['admin_email']) && preg_match(EMAIL_PREG, $_POST['admin_email']) && !empty($_POST['admin_passwd1']) && !empty($_POST['admin_passwd2']) && $functions->validate_password(stripslashes($_POST['admin_passwd1']), true) && strlen(stripslashes($_POST['admin_passwd1'])) >= $functions->get_config('passwd_min_length') && $_POST['admin_passwd1'] == $_POST['admin_passwd2'] ) {
79		
110			
111			$config_warning = ( !is_writable(ROOT_PATH.'config.php') ) ? '<p class="important"><strong>Tip:</strong> <code>config.php</code> is at this moment not writable by the webserver. Therefore, you will be asked to download the file after filling in this form. If you would like UseBB to edit the file automatically, make <code>config.php</code> writable and <a href="index.php">refresh</a> this wizard.</p>' : '';
112			
225	
226} elseif ( $_GET['step'] === 2 && !empty($_SESSION['admin_username']) && preg_match(USER_PREG, $_SESSION['admin_username']) && !empty($_SESSION['admin_email']) && preg_match(EMAIL_PREG, $_SESSION['admin_email']) && !empty($_SESSION['admin_passwd']) ) {
227	
profile.php https://bitbucket.org/Balancer/projects-balancer | PHP | 1,630 lines
1105							<?php echo $username_field ?>
1106<?php if ($pun_user['id'] == $id || $pun_user['g_id'] == PUN_ADMIN || ($user['g_id'] > PUN_MOD && $pun_config['p_mod_change_passwords'] == '1')): ?><p><a href="<?php echo $pun_config['root_uri'];?>/profile.php?action=change_pass&amp;id=<?php echo $id ?>"><?php echo $lang_profile['Change pass'];/*"*/?></a></p>
1107<?php endif; ?>					</div>
1327						<div class="infldset">
1328<?php if (isset($avatar_format)): ?>					<img src="<?php echo $pun_config['root_uri'];?>/<?php echo $pun_config['o_avatars_dir'].'/'.$id.'.'.$avatar_format;/*"*/?>" <?php echo $img_size[3] ?> alt="" />
1329<?php endif; ?>					<p><?php echo $lang_profile['Avatar info'] ?></p>
1342							<div class="txtarea">
1343								<label><?php echo $lang_profile['Sig max length'] ?>: <?php echo $pun_config['p_sig_length'] ?> / <?php echo $lang_profile['Sig max lines'] ?>: <?php echo $pun_config['p_sig_lines'] ?><br />
1344								<textarea name="signature" rows="4" cols="65"><?php echo pun_htmlspecialchars($user['signature']) ?></textarea><br /></label>
1346							<ul class="bblinks">
1347								<li><a href="<?php echo $pun_config['root_uri'];?>/help.php#bbcode" onclick="window.open(this.href); return false;"><?php echo $lang_common['BBCode'] ?></a>: <?php echo ($pun_config['p_sig_bbcode'] == '1') ? $lang_common['on'] : $lang_common['off']; ?></li>
1348								<li><a href="<?php echo $pun_config['root_uri'];?>/help.php#img" onclick="window.open(this.href); return false;"><?php echo $lang_common['img tag'] ?></a>: <?php echo ($pun_config['p_sig_img_tag'] == '1') ? $lang_common['on'] : $lang_common['off']; ?></li>
1348								<li><a href="<?php echo $pun_config['root_uri'];?>/help.php#img" onclick="window.open(this.href); return false;"><?php echo $lang_common['img tag'] ?></a>: <?php echo ($pun_config['p_sig_img_tag'] == '1') ? $lang_common['on'] : $lang_common['off']; ?></li>
1349								<li><a href="<?php echo $pun_config['root_uri'];?>/help.php#smilies" onclick="window.open(this.href); return false;"><?php echo $lang_common['Smilies'] ?></a>: <?php echo ($pun_config['o_smilies_sig'] == '1') ? $lang_common['on'] : $lang_common['off']; ?></li>
1350							</ul>
InstallerController.php https://bitbucket.org/openemr/openemr.git | PHP | 774 lines
451
452        if (file_exists($sqldir . "/acl_setup.php") && file_exists($ModulePath . "/version.php") && empty($mod->acl_version)) {
453            $mod->acl_action = "install";
454        }
455        if (file_exists($sqldir . "/acl_upgrade.php") && file_exists($ModulePath . "/version.php") && !empty($mod->acl_version)) {
456            global $ACL_UPGRADE;
690        $div = [];
691        if (file_exists($modDir . "/acl/acl_upgrade.php") && !empty($Module->acl_version)) {
692            // Pass a unique variable, so below scripts can not be run on their own
728
729        echo PHP_EOL . '--- Run command [' . $moduleAction . '] in module:  ' . $moduleName . '---' . PHP_EOL;
730        echo 'start process - ' . date('Y-m-d H:i:s') . PHP_EOL;
731
732        if (!empty($moduleAction) && !empty($moduleName) && $moduleName != "all") {
733            $moduleId = $this->getModuleId($moduleName);
modinstall.class.php https://bitbucket.org/argnist/mohana | PHP | 911 lines
1<?php
2/*
83    public function loadSettings($class = 'modInstallSettings') {
84        $path = dirname(__FILE__).'/'.strtolower($class).'.class.php';
85        $included = @include_once $path;
100    public function loadLexicon($class = 'modInstallLexicon') {
101        $path = dirname(__FILE__).'/'.strtolower($class).'.class.php';
102        $included = @include $path;
139            case modInstall::MODE_UPGRADE_EVO :
140                $included = @ include MODX_INSTALL_PATH . 'manager/includes/config.inc.php';
141                if ($included && isset ($dbase))
145            case modInstall::MODE_UPGRADE_REVO_ADVANCED :
146                $included = @ include MODX_CORE_PATH . 'config/' . MODX_CONFIG_KEY . '.inc.php';
147                if ($included && isset ($dbase)) {
796        if (defined('MODX_CORE_PATH') && file_exists(MODX_CORE_PATH) && is_dir(MODX_CORE_PATH)) {
797            if (file_exists(MODX_CORE_PATH . 'xpdo/xpdo.class.php') && file_exists(MODX_CORE_PATH . 'model/modx/modx.class.php')) {
798                $exists = true;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21