This file contains 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 characters
<?php | |
return [ | |
'host' => 'tcp://127.0.0.1:6379' | |
]; |
This file contains 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 characters
M PF.Base/include/checksum/md5 | |
M PF.Base/include/library/phpfox/image/helper.class.php | |
M PF.Base/include/library/phpfox/phpfox/phpfox.class.php | |
M PF.Base/include/library/phpfox/search/search.class.php | |
M PF.Base/module/admincp/include/component/controller/app/add.class.php | |
M PF.Base/module/admincp/include/component/controller/store/verify.class.php | |
M PF.Base/module/admincp/include/service/module/process.class.php | |
M PF.Base/module/core/include/component/block/template-menu.class.php | |
M PF.Base/module/core/template/bootstrap/block/template-menu.html.php | |
M PF.Base/module/feed/include/service/feed.class.php |
This file contains 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 characters
M .gitignore | |
M PF.Base/composer.json | |
M PF.Base/include/checksum/md5 | |
M PF.Base/include/init.inc.php | |
M PF.Base/include/library/phpfox/ajax/ajax.class.php | |
M PF.Base/include/library/phpfox/cache/abstract.class.php | |
M PF.Base/include/library/phpfox/cache/storage/file.class.php | |
M PF.Base/include/library/phpfox/cdn/cdn.class.php | |
M PF.Base/include/library/phpfox/database/driver/mysql.class.php | |
M PF.Base/include/library/phpfox/database/driver/mysqli.class.php |
This file contains 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 characters
.gitignore | |
README.md | |
upload/file/.gitignore | |
upload/file/attachment/index.html | |
upload/file/cache/index.html | |
upload/file/css/index.html | |
upload/file/gzip/index.html | |
upload/file/index.html | |
upload/file/log/index.html | |
upload/file/music/index.html |
This file contains 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 characters
<?php | |
block(1, 'core.index-member', function() { | |
return view('@Flavor/test.html'); | |
}); | |
block(1, 'core.index-member', function() { | |
echo "Hello World!"; |
This file contains 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 characters
<?php | |
$block = function(Core\Block $block) { | |
$is = new Core\Is(); | |
$menus = [ | |
[ | |
'module' => 'pages', | |
'perm' => 'pages.can_view_browse_pages', | |
'phrase' => 'Pages or Groups', |
This file contains 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 characters
<?php | |
$callback = function(Core\Block $block) { | |
return 'Hello!'; | |
}; | |
new Core\Block('/hello-world', 1, $callback); | |
new Core\Block('/core.index-member', 1, $callback); |
This file contains 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 characters
# START PHPfox Rewrite | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(file)/(.*) PF.Base/$1/$2 | |
RewriteRule ^static/ajax.php index.php | |
RewriteRule ^themes/default/(.*) PF.Base/theme/default/$1 |
This file contains 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 characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^static/ajax.php index.php | |
RewriteRule ^themes/default/(.*) PF.Base/theme/default/$1 | |
RewriteRule ^(file|static|theme|module)/(.*) PF.Base/$1/$2 | |
RewriteRule ^(apps|themes)/(.*) PF.Site/$1/$2 | |
RewriteCond %{REQUEST_FILENAME} !-f |
This file contains 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 characters
# file: /module/video/include/service/grab.class.php | |
# Look for: | |
if (strpos($sUrl, 'youtube') || (preg_match('/http:\/\/youtu\.be\/(.*)/i', $sUrl, $aMatches) && isset($aMatches[1]))) | |
{ | |
$this->_aRegex = false; | |
$this->_aSites = $this->_aSiteCache; | |
if (isset($aMatches) && $aMatches[1]) | |
{ | |
$sUrl = 'http://www.youtube.com/watch?v=' . $aMatches[1]; |