all repos — wp-flatexport @ 4363d2ad09c119881c08e335170423aef00c5eb8

PHP namespaces vs sanity
Peter Molnar hello@petermolnar.eu
Fri, 22 Jul 2016 10:45:48 +0000
commit

4363d2ad09c119881c08e335170423aef00c5eb8

parent

5eb5f4d29a67f3873f5ebb2a884176ef082b4270

1 files changed, 7 insertions(+), 7 deletions(-)

jump to
M wp-flatexport.phpwp-flatexport.php

@@ -27,13 +27,13 @@ */

namespace WP_FLATEXPORTS; -define ( 'force', true ); -define ( 'basedir', 'flat' ); -define ( 'basefile', 'index.txt' ); -define ( 'pandocfile', 'content.asciidoc' ); -define ( 'maxattachments', 100 ); -define ( 'expire', 10 ); -define ( 'wrap', 80 ); +define ( 'WP_FLATEXPORTS\force', true ); +define ( 'WP_FLATEXPORTS\basedir', 'flat' ); +define ( 'WP_FLATEXPORTS\basefile', 'index.txt' ); +define ( 'WP_FLATEXPORTS\pandocfile', 'content.asciidoc' ); +define ( 'WP_FLATEXPORTS\maxattachments', 100 ); +define ( 'WP_FLATEXPORTS\expire', 10 ); +define ( 'WP_FLATEXPORTS\wrap', 80 ); \register_activation_hook( __FILE__ , '\WP_FLATEXPORTS\plugin_activate' ); \add_action( 'wp', '\WP_FLATEXPORTS\export' );