Last active
November 7, 2016 23:26
-
-
Save heyjoecampbell/ecd68c7447fa8c55a82ac8bfc83cdb93 to your computer and use it in GitHub Desktop.
Revisions
-
heyjoecampbell revised this gist
Nov 7, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ // Unset unwanted Scripts - by name $unset_script = array('k2'); foreach($this->_scripts as $name=>$script) -
heyjoecampbell created this gist
Nov 7, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ // Unset unwanted Script - by name $unset_script = array('k2'); foreach($this->_scripts as $name=>$script) { foreach($unset_script as $script) { if (strpos($name,$script) !== false) { unset($this->_scripts[$name]); } } }