X Tutup
Skip to content

Feature 276 menumanager#1088

Open
tablatronix wants to merge 191 commits intomasterfrom
feature_276_menumanager
Open

Feature 276 menumanager#1088
tablatronix wants to merge 191 commits intomasterfrom
feature_276_menumanager

Conversation

@tablatronix
Copy link
Member

@tablatronix tablatronix commented Aug 5, 2015

cleaned up some stuff
code is crap, but still testing
Conflicts:
	admin/inc/template_functions.php
check htmleditor on post-content
Conflicts:
	admin/inc/theme_functions.php
require_once('menu_functions.php');
// debugLog('headers sent: menu_functions.php ' . headers_sent());
require_once('logging.class.php');
// debugLog('headers sent: logging.class.php ' . headers_sent());
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

debug headers already sent whitespace errors

init_pageCache();
// debugLog('headers sent: caching_functions.php ' . headers_sent());

if(defined('GSINITPAGECACHE') && constant('GSINITPAGECACHE') == true) init_pageCache(); // in case autoloading doesnt work for a particular instance.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

page cache lazyload override

exec_action('common'); // @hook common common.php has completed loading resoruces, base not yet loaded
// debugLog('calling common_callout');
if(function_exists('common_callout')) common_callout(); // @callout common_callout callout after common loaded, before templating
// callIfCallable('common_callout'); // @callout common_callout callout after common loaded, before templating
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commented out, causing issues with my debugger ide

debugLog($plugin_info);
debugLog($plugins);
debugLog($pluginHooks);
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

debug all arrays

$ecode = $e->getCode() > 0 ? $e->getCode() : '';
debugLog("$msg\nDEBUG BACKTRACE $ecode\n".str_repeat('=', $cols)."\n".$etrace."\n".str_repeat('-', $cols));
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

debuglog backtrace

if(isset($issue)) echo ' - <a class="label-reset label label-info" href="https://github.com/GetSimpleCMS/GetSimpleCMS/issues/'.$issue.'" target="_BLANK">GITHUB ISSUE</a>';
echo '</p></div><br>';
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dev branch footer


<div id="maincontent">
<div class="main">
<?php exec_action(get_filename_id().'-body'); ?>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix log body hook


// if debugging install , wipe website.xml to trigger reinstall
if(getDef('GSDEBUGINSTALL',true) && getDef('GSDEBUGINSTALLWIPE',true)) delete_file(GSDATAOTHERPATH.GSWEBSITEFILE);

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wipe website data on logout


#sa_debug_footer {
text-align: right !important;
} No newline at end of file
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove from prod

if(file_exists($extra)) $archiv->addFile($extra,basename($extra));
$extras = getDef('GSBACKUPEXTRAS',false,true);
foreach($extras as $extra){
if(file_exists($extra)) $archiv->addFile($extra);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

backup extras

@tablatronix
Copy link
Member Author

Added inline comments for stuff that affects master and will probably be merged even if this is not

Gotta restart testing again
testing complete on most function , I have a matrix for testing I will
post in issue
if(isset($load['plugin']) && $load['plugin']){

if(function_exists('plugin_preload_callout')) plugin_preload_callout(); // @callout plugin_preload_callout callout before loading plugin files
// callIfCallable('plugin_preload_callout'); // @callout plugin_preload_callout callout before loading plugin files
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uncomment in prod, removed as it was causing problems with my debug enviroment.

@@ -0,0 +1,3 @@
<?php

phpinfo();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this!!!!

@tablatronix tablatronix force-pushed the feature_276_menumanager branch from ba7e323 to 6f1df97 Compare March 1, 2018 22:33
Merge branch 'master' into feature_276_menumanager

# Conflicts:
#	admin/inc/common.php
#	admin/inc/theme_functions.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

X Tutup