This commit is contained in:
flash 2015-03-29 23:07:55 +02:00
parent 81c822e225
commit 1137ff3cee
2 changed files with 3 additions and 6 deletions

View file

@ -6,8 +6,8 @@
// Declare Namespace
namespace Sakura;
// Define Sakura Path
define('ROOT_DIRECTORY', str_replace('main', '', dirname(__FILE__)));
// Include components
require_once '/var/www/flashii.net/_sakura/sakura.php';
// Set Content type
header('Content-Type: application/octet-stream');

View file

@ -6,11 +6,8 @@
// Declare Namespace
namespace Sakura;
// Define Sakura Path
define('ROOT_DIRECTORY', str_replace('main', '', dirname(__FILE__)));
// Include components
require_once ROOT_DIRECTORY .'_sakura/sakura.php';
require_once '/var/www/flashii.net/_sakura/sakura.php';
// Add page specific things
$renderData['page'] = [