Changeset 469
- Timestamp:
- Mar 19, 2014 9:24:54 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Utilities.inc.php
r468 r469 35 35 function dump($var, $display=false, $var_dump=false, $file='', $line='') 36 36 { 37 if (empty($var)) { 38 $var = '(nothing to dump)'; 39 } 37 40 if (defined('_CLI')) { 38 echo "\n $file $line\n";39 } else { 40 echo $display ? "\n<br /> <strong>$file $line</strong>\n<br /><pre>\n" : "\n\n\n<!--\n$file $line\n";41 echo "\nDUMP FROM: $file $line\n"; 42 } else { 43 echo $display ? "\n<br />DUMP: <strong>$file $line</strong>\n<br /><pre>\n" : "\n\n\n<!--\n$file $line\n"; 41 44 } 42 45 if ($var_dump) { -
trunk/services/css.php
r468 r469 4 4 * For details visit the project site: <http://trac.strangecode.com/codebase/> 5 5 * Copyright 2001-2012 Strangecode, LLC 6 * 6 * 7 7 * This file is part of The Strangecode Codebase. 8 8 * … … 11 11 * Free Software Foundation, either version 3 of the License, or (at your option) 12 12 * any later version. 13 * 13 * 14 14 * The Strangecode Codebase is distributed in the hope that it will be useful, but 15 15 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 16 16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 17 17 * details. 18 * 18 * 19 19 * You should have received a copy of the GNU General Public License along with 20 20 * The Strangecode Codebase. If not, see <http://www.gnu.org/licenses/>. … … 22 22 23 23 /** 24 * css.php 24 * css.php 25 25 * 26 26 * This file works with the CSS.inc.php class to print a "normal" css file and … … 28 28 * ever modify this file. 29 29 */ 30 31 require_once dirname(__FILE__) . '/_config.inc.php';32 33 30 if (is_a($css, 'CSS')) { 34 31 $css->headers(getFormData('app'));
Note: See TracChangeset
for help on using the changeset viewer.