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> | |
Options -MultiViews | |
RewriteEngine On | |
#RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f [OR] | |
RewriteCond %{REQUEST_FILENAME} \.(js|css)$ | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . subfolder.php [L] | |
</IfModule> |
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 | |
/** | |
* Elefant CMS - http://www.elefantcms.com/ | |
* | |
* Copyright (c) 2011 Johnny Broadway | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights |
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 | |
// -------------------------------------------------------------------------------- | |
// PhpConcept Library - Zip Module 2.8.2 | |
// -------------------------------------------------------------------------------- | |
// License GNU/LGPL - Vincent Blavet - August 2009 | |
// http://www.phpconcept.net | |
// -------------------------------------------------------------------------------- | |
// | |
// Presentation : | |
// PclZip is a PHP library that manage ZIP archives. |
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 /* | |
[name] | |
callback = validate_array_not_empty | |
; */ ?> |
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 /* | |
[myapp/headlines] | |
label = "My App: Latest Posts" | |
; */ ?> |
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 | |
$galleries = glob ('files/galleries/*'); | |
echo '<ul>'; | |
foreach ($galleries as $gallery) { | |
// list galleries here | |
echo '<li><a href="/myapp/gallery?path=' . str_replace ('files/', '', $gallery) . '">' . basename ($gallery) . '</a></li>'; | |
} | |
echo '</ul>'; |
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
<!-- apps/test/views/fm.html --> | |
<script> | |
function filemanager () { | |
$.wysiwyg.fileManager.init (function (file) { | |
$('#file').val (file); | |
}); | |
return false; | |
} |
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 | |
/** | |
* A PHP port of URLify.js from the Django project | |
* (https://github.com/django/django/blob/master/django/contrib/admin/static/admin/js/urlify.js). | |
* Handles symbols from Latin languages, Greek, Turkish, Russian, Ukrainian, | |
* Czech, Polish, and Latvian. Symbols it cannot transliterate | |
* it will simply omit. | |
* | |
* Usage: |
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 | |
/** | |
* A PHP port of URLify.js from the Django project | |
* (https://github.com/django/django/blob/master/django/contrib/admin/static/admin/js/urlify.js). | |
* Handles symbols from Latin languages, Greek, Turkish, Russian, Ukrainian, | |
* Czech, Polish, and Latvian. Symbols it cannot transliterate | |
* it will simply omit. | |
* | |
* Usage: |
OlderNewer